Most voted "jquery" questions
jQuery is a Javascript library focused primarily on DOM handling, event management and Ajax, seeking to free developers from directly dealing with a number of browser compatibility issues.
Learn more…11,371 questions
Sort by count of
-
0
votes1
answer85
viewsCheck for changes in an html table
Good evening. I have a table that I pick up via Curl. It updates every 30 seconds, and displays in an html. This table has the status of a character in a game (live or dead). I wanted to know how to…
-
0
votes1
answer128
viewsAdd date in table
I’m pulling an API and putting its data inside a table, but this data goes to the table part that is td, but I want to put the date that the data were implemented there, then the date would be in…
-
0
votes1
answer1903
viewsAutomatically set date and time in HTML table
How do I automatically set a date and time in my html table? Doing it by js. I created a table by js and entered in it data from my API, only that this data goes to the TD part of the table, and I…
-
0
votes1
answer566
viewsIs it possible to link to php include with jquery?
I have a php page that makes require header, sidebar, and footer, but the content of body would like to pay dynamically by passing the link to require via jquery, do not want to work with framework…
-
0
votes1
answer565
viewschange color only of clicked element
I need to change the color only of the element that was clicked, in case change the background color of the div - the same and cloned several times creating more div in html depending on how much is…
jqueryasked 7 years, 5 months ago Marcelo Batista 1,617 -
0
votes1
answer31
viewsHow can I create a query with alternate sorting in Rails 5?
I have the following formatting in my database Products - Name - Id Loja with the following records Product 1 - Shop 1 Product 2 - Shop 1 Product 3 - Shop 3 Product 4 - Shop 1 Product 5 - Store 2…
-
0
votes3
answers588
viewshiding component input when selecting a value in the select field
I have a component select which brings the countries from the database <div class="form-group col-md-4"> <label>País *:</label> <select required="required" id="selecionaPais"…
-
0
votes1
answer683
viewsSubmit form with empty checkboxes and receive their value on the server
I’m picking up a form with AJAX and Jquery and sending for treatment in a file PHP by name getPDF, in this form there are several checkboxes with different values however name and class equal…
-
0
votes1
answer96
viewsValidate field when switching to another field
I have the following fields: In them are recorded the values allowed by the Post Office to calculate the freight. Despite having limited the fields with the accepted values: <div…
-
0
votes0
answers189
viewsFill in combobox via Jquery
I have the following html combobox: <div class="form-group col-lg-6 row"> {{ Form::select( 'state',array( 0 => '' ),null, array( 'class' => 'form-control', 'data-placeholder' =>…
-
0
votes2
answers449
viewsHow to make a slider footer by running the site partners?
Well, I’ve seen it on some sites I’ve even looked on the Internet for some example but I couldn’t find it so I’ll ask for help here. I’ve seen it on some sites and now I need to implement a footer…
-
0
votes1
answer75
viewsAjax requests do not stop loading
I have been with this problem for many days now, I have a page where externally loads the link from a security camera to display the image on the main page, so far so good, the image shows normally…
-
0
votes1
answer487
viewsAjax + Php Pass Variable
How can I send a variable through Ajax and recover the value in PHP? <script type="text/javascript"> setInterval(function(){ $.ajax({ async: true, url: 'contalog.php', dataType: 'html', type:…
-
0
votes0
answers526
viewshow to recover json php data with ajax
how can I recover data coming from a php with the ajax. because I’m getting the result but it’s not coming to the jquery he doesn’t bring me values query code if(isset($_POST['cep'])){ $cep =…
-
0
votes2
answers1790
viewsButton to open/close content
Hello guys I’m new here and also with programming... well I have several div with different contents and are with hidden, I would like that when you click a button continue reading it closes and…
-
0
votes1
answer53
viewsAjax displays message and hides right away
This code of mine is a bit buggy, its function is to display the message and leave it there until it refreshes the page, but it is disappearing. $('form#yes').on('click', function() { function…
-
0
votes1
answer74
viewsPopular form (Object array)
I have the following object array: What I have of this object is the index, and I want to use this index to populate a form. In the function below, fase is the array and ID is the index of the…
jqueryasked 7 years, 5 months ago Wagner Fillio 1,328 -
0
votes2
answers133
viewsTreatment JSON
Through JQUERY, I need to make a request via POST where I’ll get a JSON with a token. The JSON return I get after sending the POST is this: { "Token": "e27bb0a7-e65b-4cc3-a82e-7a2a3c26a248",…
-
0
votes2
answers108
viewsHow to Give Get in Response Status
I’m implementing a Mailchimp API for a website. I would like to use as a condition the status obtained as response by the according server as follows codes below: Jquery / AJAX:…
-
0
votes1
answer181
viewsjquery’s maskMoney function does not work in div loaded via ajax
I have a page I’m refreshing with ajax only in the div conteúdo. It is configured like this: div1: I load 2 selects where the user will choose these 2 data (class and bimonthly) div 2: I load the…
-
0
votes1
answer74
viewsjQuery smoth scrolling is not working
When I click once on one of the options of nav, it works, but if I double-click or if I’m in one area and click to go to another, it gets lost and Buga total, do not know what to do and I’ve tried…
-
0
votes1
answer73
viewsHow to simplify scroll to Section and back to top actions
I have the smooth scrolling menu functions for a One Page sessions as well as a smooth Back to Top: var $doc = $('html, body'); $('a').not('#back-to-top').click(function (e) { e.preventDefault();…
-
0
votes1
answer257
viewsCarousel with a Table
I have a table with Bootstrap and Datatables. But he wanted to do something as if it were a Carousel, that every X seconds he went to the next page, How can I do this with…
-
0
votes2
answers103
viewsSimplify value comparison on an input
I have a input on my form with id="nome": <input id="nome" name="nome" type="text" /> I would like the value of this input was the same as: "Jose", "maria" or "Joao". I have the following…
-
0
votes1
answer554
viewsDate and Time Form - Angularjs
I have a form with the option to choose date and Time. I’m using the Datepicker and Timepicker components. <!-- Date --> <div class="col-xs-12 col-md-3 col-lg-3"> <div…
-
0
votes2
answers1379
viewsSelect line from a gridview and pass the values to a textbox
I am facing problems trying to find a solution so that when I click a grid view, it passes the values contained in the line to text boxes. My gridview is being populated, but I need to find a…
-
0
votes1
answer134
viewsAs the action force of jquery change inside php while loop
Good afternoon, I’m trying to make the action change of jquery work inside a modal that is inside a while loop in php, where I use a select from the STATES field that popular another select from the…
-
0
votes0
answers38
viewsModel Entity Relationship Dynamic form
I created a code where the user is able to drag components and make their own form. I want to save the data coming from the user but I have no way to define how many fields he will insert in the…
-
0
votes0
answers119
viewsPopover does not work when added dynamically by jquery
I have a div with various information and a Popover (Bootflat). When I add another div via jquery, the new Popover of the new div does not work. (div gets the correct formatting and Popover code is…
-
0
votes1
answer116
viewsAjax By Form Data= Variable Undefined
This is my form <form action='emails.php' method='post' > <input type='submit' value='Enviar para Email Selecionados' class='selecionados'/> </form> <div class='divtop'…
-
0
votes4
answers3686
viewsHow to get javascript/jquery array content?
Good afternoon, Stack Overflow. I’m feeling huge difficulty getting content from a specific javascript array. In the first lines of javascript code it looks like this. Loose var arrayIDs = []; After…
-
0
votes1
answer243
viewsTake input value with jQuery
I’m trying to get the value of however, it returns me only the input.pgt as seen in the image above, already tried with . value and . val(), but still not working, follows the image of the code…
-
0
votes2
answers1048
viewsCopy value from Textarea to Other Automatically
I saw this post (How to take the value of one input and assign to another? ) but I couldn’t adapt to the textarea. I have the following HTML, which I want to pass the value of the first textarea to…
-
0
votes2
answers2849
viewsRemove all White Spaces from Textarea
I would like to know how to remove all blanks from one textarea. I have a field textarea that copies the value to a second field textarea, would like to perform a function that removes space or line…
-
0
votes1
answer44
viewsZoom in on the value found after searching
Hello! I am developing a map here and I have a search field and a map with the layers. I am using leaflet and the search I am doing customized, because the plugin does not meet my needs. I’m having…
-
0
votes1
answer312
viewsClick as if it were toggle or Hover
I’m having a problem with something similar to a legacy tooltip, what happens is that they did it in Hover this way: var elem = jQuery('#interrogacao_adicionar_cartao_div');…
-
0
votes1
answer238
viewsHow to use "mock" to perform function only after a while
Hello. I am developing a script that runs when the user arrives at the end of the page scrolling. What I have so far is the following code: $(document).ready(function() { var posicaoAtual =…
-
0
votes1
answer749
viewsquerySelector takes class? (JAVASCRIPT)
I made a function to change a photo when an element is added in my table, table that I created a class to be able to change the photo, but to get the html element, I need to use querySelector, but…
-
0
votes0
answers178
viewsHow to organize array to display on graph (Chart)
This graphic aims to list the total monthly accesses by user type of the current year. It is divided into 3 series, each series represents a type of user, within it has the total of accesses of that…
-
0
votes2
answers597
viewsHow to remove an object from an array, if it exists, with json string
I’m trying to create a kind of wish list. By clicking on a button/product it populates or excludes, if it already exists. However, I cannot exclude, I can only include. I tried to use the splice,…
-
0
votes1
answer977
viewsreplace text with another
My doubt and the following, I have a Button and I want to exchange your text for the text of li (tag text <a>) subsequent. At first I made a script that did not work, my intention in short, is…
-
0
votes1
answer35
viewsScrool Mouse Tracking lines, with css and jquery
I need to make sure that according to the mouse scrool is rotating downward, will accompany a line to the side, this I managed to do, as shown in the link below Click here to see the example My…
-
0
votes0
answers36
viewsError creating json cookie with jquery
I’m trying to create a simple cookie with a json key value, but I’m getting it from the browser (click on the photo): This is the plugin I’m using Code, it goes below: $.cookie("gavetaMilagres",…
-
0
votes1
answer210
viewsHow to enable or disable select nearest?
I’m using Materialize CSS, I have a screen where I would like the Switch to be activated, the select the nearest becomes active so the user can select an option, and if the Switch goes back to…
-
0
votes2
answers465
viewsHow not to show jQuery UI autocomplete input the HTML of the variable?
I’m using the autocomplete of jQuery. I got him to play HTML, but the HTML is displayed on input. I need to format my search like I did: When I click, however, the result is displayed like this:…
-
0
votes1
answer94
viewsprogress bar does not work jquery
I’m trying to make a progress bar work, but I don’t know what’s going on, there’s no error in the console, but the progress bar doesn’t move. $(document).ready(function(){…
-
0
votes1
answer74
viewsUndefined javascript function after $.getScript('');
I need to load a file . js after an ajax call. I have been searching and found the $.getScript('') to call my file, it opens, everything is fine, but the functions defined in that file are not being…
-
0
votes1
answer109
viewsMark dynamically created checkboxes in case a condition is true
Hello! I have a problem that I am not able to solve. I want to "check" the checkbox that is generated dynamically in my HTML code. The structure works like this: 1. The page is loaded; 2. By…
-
0
votes1
answer24
viewshow to leave only input from a dialog with draggable disabled?
I have a function that makes the dialog with draggable enabled but I need to be able to edit an input within this dialog. How do I make it so only this input is not inheriting the draggable from the…
-
0
votes0
answers184
viewsMonth and day reversed when saving to database
I’m using datepicker of jqueryUI to choose the date in a calendar, the problem is, if I choose 04/12/2017 is saved at the bank 12/04/2017. datepicker: $('#schedulingCalendar').datepicker({…