Questions tagged as 'jquery'

1
answer

Select change jQuery

I have the following script: $("#tp_pagamento").change(function(){ var tp_pagamento = $(this).val(); $.ajax({ url: BASE_URL + "ajax/lista_integrador", type: "POST", data: {tp_pagamento:tp_pagamento}, suc...
asked by 09.07.2017 / 17:37
1
answer

Jquery help does not appear

I have a problem on my site, I had the help of a forum member who gave me a jquery code, I put it to run on my site, but I have a problem with it, the warning that should be generated does not appear, Can someone help me? #topo { background...
asked by 11.06.2017 / 16:43
1
answer

Jquery simultaneous duplicate chat notifications

Hello, I have a chat system that gives notifications in any part of the site in which it is or in the same page of chatt, however when I have 2 open tabs I get notification in both, that is, duplicate, I would have some way to verify if I have m...
asked by 12.06.2017 / 18:36
1
answer

How to clear the contents of a variable inside a JQUERY function?

I'm starting to study Javascript and Jquery I'm developing the following page: TheproblemisthatwhenIclickonanewdatetheoldoneisnotresetasPrintbelow: IhavetriedeverythingtocreateaResetfunction,use.removebutnothingworks.Iwouldlikesomehelp!Herearem...
asked by 12.06.2017 / 22:26
1
answer

Click running wrong

I have this code: function loadEditLabel() { // Salva o novo input saindo do campo ou apertando enter $('[contenteditable="true"]').focus().select().keydown(function(event) { if (event.key == 'Enter') { // Checa se a tecla dig...
asked by 12.06.2017 / 21:57
1
answer

Error Loading multiple pages in php site

I have a PHP site where I have to load several pages. Only once. What is happening is the overlay of screens with several inclusions. <div class="container"> <h2>MAPAS</h2> <ul class="nav nav-tabs"> <li>&l...
asked by 12.06.2017 / 22:43
2
answers

Jquery does not run on the first page load!

Hello, I have a page where the first loading of Jquery does not run, refreshing the page (refresh, F5) the function written in JQuery works. I'm using JQuery with Ruby On Rails technology. Solutions: Add script at the end of HTM...
asked by 13.06.2017 / 14:32
1
answer

Pass parameters to the controller via ajax

Personally I did not handle anything in jquery / ajax and wanted to pass a parameter to the controller. I have a modal that opens only to ask if the person is aware of the cancellation where the only field that needs to pass is a hidden with...
asked by 13.06.2017 / 23:15
1
answer

how to replicate a dynamic table

How do I load exactly the same structure I create on another screen? Next, I have this registration screen where clicking on the "+" button will add text type inputs (according to the attached code) My problem is that this creation is dynamic...
asked by 12.07.2017 / 17:40
1
answer

Problem with JSON filter and Array

I'm trying to filter a JSON with category but I'm not getting it. I have 3 checkboxes and when I select them they should filter a json as selected. and when I uncheck a checkbox it should filter only those that are selected. If no checkbox is...
asked by 11.07.2017 / 20:04