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
votes0
answers23
viewsHow do I make the return give success jquery and php formulary
I have a form like this <form action="envia-contato.php" method="post" > <label>Nome<span style="color:#db0012 !important;">*</span></label> <input type="text"…
-
0
votes0
answers385
viewsHow to take modal bootstrap data and send it to PHP
I need to get the data from the Modal form via Ajax My code: var url = 'fotovisita.php'; var data = $('#foto').serialize(); var type = "POST"; $(document).on('click', '#save-foto', function () {…
-
0
votes0
answers58
viewsDetect when Scrollbar is not at the bottom of the page
I am creating a Chat without refresh that displays your results in reverse order leaving the current ones at the bottom and the old ones at the top. I already have the effect of moving the page to…
-
0
votes1
answer189
viewsProblem with Get in jquery
Man script works perfectly, but there are hours that requires the page of the registration sent a selection type category, and it sends to the address bar as if it were $_get, but it’s all coming…
-
0
votes0
answers63
viewsForce woocomerce checkout page update
Hi. My store does not update the order amount when I change payment method ... How can I force this update on functions PHP or jquery script / ajax etc.? woocomerce refreshes the page in ajax, but…
-
0
votes2
answers744
viewsBackground color on calendar specific days and times
I have this calendar as shown in the image: I intended every Tuesday from 2:30 to 5:30 and Thursday from 10:30 to 12:00 to appear with a different background color than the rest of the days. This is…
-
0
votes2
answers165
views -
0
votes2
answers436
viewsHow to insert DIV with input fields inside the DIV using jquery or javascript
I have a simple form with add button that when I click it adds 3 text inputs: <form method="POST"> <div id="ingredientes"> </div> <button type="button"…
-
0
votes0
answers48
viewsHow to avoid conflicts in Jquery?
I have a system where the user registration is done through stages: But when the user enters the name, I want that, as happens here on the site, the name automatically appears in a div next to the…
jqueryasked 6 years, 7 months ago user24136 -
0
votes1
answer149
viewsClose Dropdown submenus when closing the Main Dropdown
$(document).ready(function(){ $('.dropdown-submenu a.sub').on("click", function(e){ $(this).next('ul').toggle(); e.stopPropagation(); e.preventDefault(); }); }); .dropdown-submenu { position:…
-
0
votes2
answers54
viewsWhich event should I associate with select?
My script is not working, I just want to make the script display the paragraph when select is selected, see: $(document).ready(function() { $("#btn1").click(function(){ $("p").hide(); });…
jqueryasked 6 years, 7 months ago user122195 -
0
votes1
answer33
viewsSelect custom with conflicting script
So I have a script to change the default select of Woocommerce variations, so far so good, the problem is when a variation is out of stock, the custom select should have the same options as the…
-
0
votes2
answers51
viewsHow to maintain the presentation of modal data
I developed a screen that presents the benefits granted to the citizen, system aimed at social assistance, follows the view : <!--onblur…
-
0
votes1
answer394
viewsProblem with autocomplete
Good evening, I’m trying to do an input with auto complete per query in mysql database, but I’m having problems. I did all the code following a tutorial and still will not, nor errors appear to me.…
-
0
votes1
answer180
viewsErrors with js table filter and paging
I found some practical errors running my code and don’t know how to fix it. Follow the code below: <div id="divConteudo"> <?php $con_string = "host='***' port=5432 dbname='***' user='***'…
-
0
votes1
answer206
viewsAJAX POST WITHOUT REFRESH
I’m wanting to do a post without refresh, where it opens a confirmation modal. But it is re-updating the site when the post is submitted and when placed the e.preventDefault(); the post does not…
-
0
votes1
answer27
viewsSerielize() jquery does not save variables
I’m not able to record the variables with jquery serialize(), esotu doing so, what would be the problem? //Executa em cada form: $('.formAjax').on("submit",function() { // Pegar o ID do formulário…
-
0
votes2
answers59
viewsJquery Validation only after dropdown is selected
I have a dropdown and want to validate, make it mandatory only if a checkbox is checked, otherwise it is not required I tried to do as Jsfiddler https://jsfiddle.net/dorathoto/zoh72rx5/6/ <form…
-
0
votes1
answer55
viewsHow to create a filter with images?
I am creating a project that lists several images of establishments, I want to create a filter so that I search the name of the store and appear only her, or research the type of cuisine, distance…
-
0
votes1
answer269
viewsConvert jQuery to Typescript
I am having several problems converting this chunk of code with jQuery using only Typescript. function addTourOverlay() { if ($('#tour-overlay').length === 0) { $('body').prepend('<div…
-
0
votes1
answer276
viewsSelect table row content
Talk personal all right? I have an HTML application,PHP,Jquery, bootstrap and on the same screen I have two tables the first of clients I bring via AJAX when I type the client name in the "search"…
-
0
votes1
answer194
viewsHow to put a ui-accordion with another ui-accordion inside?
How do I individualize the ui-accordion, the script is not loading? Javascript: $( function() { $("#accordion_search_item1,#accordion_search_item2,#accordion_search_item3") .accordion({…
-
0
votes2
answers1556
viewsJquery to add element in the.append function div
Good afternoon, I’m trying to add a direct element in a div. Only that apparently the . append function, needs a div and another element. The problem is that the element that comes before is…
-
0
votes1
answer748
viewsAlternative to $.html('); to clear a div in Jquery
I’m having problems with caching a page because there are three calls in the event of .change(); of 3 input[type='select'] asynchronous with jQuery, but when I make a new seal on the first select,…
-
0
votes0
answers86
viewsHow to take the bottom position a dynamic div
I’m trying to get the bottom position of a div dynamically via jQuery and I’m not getting it. What I need is to take this position to make a limit of how far the title of the page can go…
jqueryasked 6 years, 7 months ago Bruno Folle 729 -
0
votes2
answers99
viewsHow to disable too many buttons on a foreach when you click a single button?
I have a grid with a cleaning list to be done. Initially all buttons are green with the text "Start Cleaning". When I start a cleaning, this button is blue and the text changes to "Continue…
-
0
votes1
answer48
viewsJquery to replace <small>
Quick little question I couldn’t find anywhere.. How can I change the text of a small? I’m trying with the same code I used to swap a text once, I think the problem is in the selectors, but I have…
-
0
votes0
answers26
viewsHow to select a field in Jquery’s $ui.dropdown
Guys all good?? I wanted to leave some fields already selected through an id’s that I’ll bring from php. with these id’s I would like to compare with the id’s already written in the sector field…
-
0
votes0
answers104
views -
0
votes0
answers48
views -
0
votes1
answer154
viewsHow to Dropdown Autocomplete Field in Loop
Como não tenho muito conhecimento de javascript I need a help in this my problem here... In this and precise form that when choosing an item in the dropdown it fills the field beside with the value…
-
0
votes1
answer52
viewsFilling select with latitude, longitude and city according to Json
I have a form with two selects, one from State and another from City. I already get popular my city select according to the state choice. The problem is that at the time of return Json in the…
-
0
votes3
answers345
viewsProblem with jQuery addclass and Removeclass
I’m having trouble using the addClass and Remove Class in jQuery. I need the Section of class="" by clicking on it, it disappears and appears to class="video". I need the class "video" to occupy the…
-
0
votes0
answers43
viewsjQuery giving "Unexpected token ;" problem in variable assignment
I use this code below to load in the display of a Datatable values according to what the user selects, it is not possible to use the Datatable standard and it needs to be so so that I can request…
-
0
votes2
answers82
viewssend file by ajax
I have a form to fill and record files in the database passing the data by ajax but the file is not coming. The form: <script src="jquery.min.224.js"></script>…
-
0
votes1
answer326
viewsHow to change the Datepicker format dynamically?
I wonder if there is any way to change the format of datepicker dynamically, using radio Buttons, but the way I’m trying is not working ... HTML <input id="periodo" name="periodo" type="text"…
-
0
votes0
answers37
viewsjQuery doesn’t want to run on mobile
I’m using a function so that when one clicks on the inputs the value is replaced by monetary value, but on mobile only works if one clicks on "ok" or "go", and I wanted it to run as soon as one…
-
0
votes0
answers447
viewsChecking that the CPF is unique with Jquery validate remote
I’m making a form that checks if the number already exists in a database. In my JS I use the Jquery Validate library $('#form').validate({ rules:{ cpf: { required: true, cpfBR: true, remote:…
-
0
votes0
answers2200
viewsUnexplained Error, Uncaught Syntaxerror: Unexpected end of JSON input
I’m making a chart and I’m using Chart.js, PHP and jQuery. I managed to run with the correct information, but after a while it stops working and presents the following error: Uncaught SyntaxError:…
-
0
votes0
answers299
viewsLoading Screen
I’m here again. I have a page (index), that calls a Avascript, to assemble a graphic on the screen, I am able, but the graph is taking a little bit to render and when it does not render the screen…
-
0
votes0
answers143
viewsSet monetary value field correctly in Asp.Net MVC
I am having problems with monetary value in my Asp.Net MVC application and would like to know how to set up In class [Display(Name = "Valor Produto")] [Required(ErrorMessage = "O campo {0} é…
-
0
votes1
answer591
viewsPlay next video automatically
I want to make a local application that plays the videos selected by the user through the checkbox, and as soon as a video is finished, the other begins. <!DOCTYPE html> <html lang="en">…
-
0
votes1
answer93
viewsMake Script work in loop
As I’m not familiar with javascript I need a help on how to make this script work in the loop. His problem is that auto complete only works in the first line. if we add another line it no longer…
-
0
votes2
answers29
viewsJquery - Tooggle Panels
I need help with Jquery below... I need each <div id="flip"></div> inside each <div id="conteudo"></div> show the <div id="panel">Hello world!</div>. However, the…
-
0
votes1
answer289
viewsFunction jQuery return validation message instead of Alert
I have this function, which works perfectly: $('#FornecedorNovo').submit(function (e) { e.preventDefault(); var url = "/Fornecedor/VerificaInscricao"; var Insc = $("#InscricaoEstadual").val(); var…
-
0
votes0
answers279
viewstake data-value with Javascript
I’m trying to get the value of the date field of a select, but I’m not getting it. Only the default value field I’m getting. The field in select this as: "data-value2" Using . valor2 HTML:…
-
0
votes1
answer40
viewsDo not send form with the Jquery animation of the search button
I have this code that animates the search button in Jquery, the problem is that my form does not send the typed data when you click on the Submit button with this animation, as I should do? HTML…
-
0
votes0
answers41
viewsProblem with url
I made a page where all the content is in it (there are no other pages). I had to adapt a kind of user-friendly url to it, because by clicking on the page sections, the cursor goes to a certain…
-
0
votes1
answer3569
viewsAjax (POST) Laravel
I am having the famous error 419, that for a certain moment I was able to solve, but after restarting the server, it stopped working. Route: Route::post('ajax/Register', 'Ajax@Register');…
-
0
votes0
answers43
viewsHow do I delete a song in my library using the Spotify API?
I have the following code: $.ajax({ //url: 'https://api.spotify.com/v1/me/tracks?ids=1ftBvRj542ol7LT1A0EtL7', url: 'https://api.spotify.com/v1/me/tracks', method:"delete", scope:…