Questions tagged as 'jquery'

2
answers

Reload the main script when completing ajax request

I'm developing an application where I have some views that are loaded into my <section id="view"> via ajax. The view loads normally, but functions that have been programmed with jQuery for all inputs, for example, do not work. As...
asked by 03.02.2018 / 04:51
0
answers

GetJSON function does not display information on the screen

Good Night People, I really need some help. I'm dynamically mounting a table that lists an X quantity of calls. For this I am using AJAX to query in the database and display on the page. So good, no problem. But one of the items that I nee...
asked by 19.12.2018 / 01:05
3
answers

Global variable in JavaScript

How to make a global variable in JavaScript? I need the variable that was declared in one function to work in another function. Example: JSFiddle $("#div3").click(function() { var fill = "a"; }); $("#div2").click(function() { ale...
asked by 12.09.2014 / 00:10
1
answer

Updating date and clock

I am creating a clock from an informed value, the problem is that the clock is not being updated. The other problem is that in the inverted view, the month is coming first than the day. What am I doing wrong? This "Today" value appears cor...
asked by 07.12.2018 / 13:20
1
answer

Red item on screen prevent submitting - Javascript / Jquery

I have a view with 3 divs and 20 input number on each line of my div and a input submit . Each line comes from my bank. (For this example I will use only 3% with%). These my inputs number are as if they we...
asked by 07.12.2018 / 14:07
1
answer

How do I dynamically change the minimum number of search characters in the jQuery Autocomplete library

I want to dynamically change the minLength attribute of the jQuery Autocomplete library . This need is due to the fact that if the user performs the search by the name or email of the client the minimum to start a search and three cha...
asked by 28.11.2018 / 18:56
0
answers

Jquery POST with PHP does not query

I've never done a Jquery script that does the query with PHP via POST. What I was able to do is this: $('a.js-cd-panel-trigger').click(function(e) { e.preventDefault(); var valor = $(this).attr('id'); $.ajax({ type: "POST"...
asked by 28.11.2018 / 19:38
0
answers

Close div / popup when clicking back button

Jquery Mobile provides popups that are closed when the user presses the 'back' button and wanted to implement this 'function' in my web app. Here's a fiddle with an example: link But I wanted this code to be cleaner, because the script crea...
asked by 04.12.2018 / 21:09
0
answers

Displaying Time in Highchats

I'm developing a page and in case I need a sequence of graphs that will display certain results, the problem is that one of the charts is relative to the amount of hours and I need to display that amount of hours. In case, these data are coming...
asked by 28.11.2018 / 03:06
1
answer

POPUP appears only once per user - Cookies

I have a POPUP on my site that appears whenever the person updates or enters it. I want to create a javascript function (because the page is in HTML and you can not use PHP POPUP only once per user with an interval time, type 1 day f...
asked by 16.09.2015 / 13:21