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
votes2
answers48
viewsSave values from fields created With Append(dynamically created field ) in the database
I have the following code in JS, it creates new fields when clicking the button "+": What I would need is rescue the values that are created with the append and insert them into the Database using…
-
0
votes0
answers22
viewsSerialization error while loading google chart Charts
I have the method JsonResult called "Carregarchart" which returns a DataTable for a request Ajax where I’m trying to popular data on a google graphic Maps, and the problem is that the following…
-
0
votes0
answers15
viewsSend php date via ajax and jQuery
I’m trying to send two variables to a php file. I tried it first with a variable, and it was working. When I put in the second variable, it stopped working. Javascript function: function mensagem()…
-
0
votes0
answers18
viewsCreate new select with the button using array
I am trying to create a button so that there is the creation of a new select according to the need to fill and a delete button to delete those that have no need without deleting the first item. I’m…
-
0
votes1
answer90
viewsUse Header,Main,Footer as Frames
Good afternoon, you guys. I started using html at the time of the front page, at the time we used frames to have the link only in the body of the page, leaving the static top without loading in a…
-
0
votes0
answers22
viewsHow to observe an element that is added and removed from code
Hello, the title of my question may seem a bit confusing, but I’m studying to make an extension to Whatsapp, I want to be able to print a log saying that there is a new message whenever you receive…
-
0
votes1
answer31
viewsFunction to save script ? JAVASCRIPT
I have a script and would like just to put you inside a Function because it is not good practice to let "loose" scripts, so I would like a function that does not modify at all my script, just serve…
-
0
votes0
answers19
viewsDoes Jquery not work within a function of the Unite Gallery plugin?
I’m using the plugin Unite Gallery when click the button, open a lightbox and show a video. Follows the HTML <button type="button" class="btn custom-btn-modal"…
-
0
votes0
answers56
viewsLock . click() on a label
I have the following code: $("input[type='radio'][class='tipo']").click(function() { url = $(this).attr('data-route'); id = $(this).attr('id'); $.ajax({ url: url, type: "POST", dataType: "json",…
-
0
votes2
answers57
viewsIs it possible to use jQuery effects with the <option> tag of a <select>?
I wanted to use a jQuery effect, for example the hide(). You can implement this effect by clicking on a <option>? <div class="form-group" style="margin-left:…
-
0
votes1
answer33
viewsChange modal element after loaded - WP JS jQuery
Good, find someone to help me understand this dilemma. I have a modal that is loaded from a click on a link and shows the information of a given course. So far everything is right and working.…
-
0
votes0
answers59
viewsPagseguro - Problem when consulting Brand
Hello, I am trying to use the transparent checkout of pagseguro. I have already integrated the session generation, but when consulting the flag of the card, the function success is never called,…
-
0
votes2
answers39
viewsClick to close all Faq questions, open the clicked question and with another click, close the open question
Good afternoon, I am creating a FAQ, and in it there are some questions that when they are clicked, should appear her answer right below, to do this I created a toggle in JQUERY. To ensure that the…
-
0
votes0
answers69
viewsLoad a partial view into the modal bootstrap
Following , I’m trying to load my partial view into the modal but I’m not getting it. I’ve tried several ways, including with the @Html.Parcial , However, if you do so, the string company_details…
-
0
votes0
answers21
viewsRoll div to a point and stop
I’m trying to do something that should be simple but I’m not getting it. I want to take a div that has a form and make it roll with the page to a certain point on the page, let’s say the middle of…
-
0
votes1
answer28
viewsCalling an ajax inside the sucess of another ajax contained in the first ajax
At the click of a class button cantor is returned the singer’s name and buttons with class musica with their respective song names (data). By clicking a class button musica is returned to the lyrics…
-
0
votes0
answers68
viewsHow to stop youtube video when you click a button?
I’m making a website with React and I have a carousel with some Iframes with youtube videos, when I slide to the next video the previous one is still playing. Is there any way with Jquery or JS to…
-
0
votes1
answer26
viewsHow to make a css style change via Jquery
Hello guys I have a navigation menu on my page that is at first transparent. How do I go through Jquery as soon as I scroll down (scroll) apply a background color to the navigation menu . This is…
jqueryasked 4 years, 3 months ago user219751 3 -
0
votes1
answer27
viewsCalculate individual inputs with Jquery
I have this code that generates a list of items in input form: if (mysqli_num_rows($result) > 0) { while ($row = mysqli_fetch_assoc($result)) { echo " <tr> <tr> <td><input…
-
0
votes0
answers16
viewsUndefined index error
Can anyone see where the error is in this shipment? I can not understand why report that does not find the field, including the console shows that the information is being recovered in JQUERY/AJAX…
-
0
votes1
answer26
viewsI would like to understand how by a check js to confirm Butão
` Confirmations <div class="card-tools"> <button type="button" class="btn btn-tool" data-card-widget="collapse"> <i class="fas fa-minus"></i> </button> </div>…
-
0
votes0
answers15
viewsModify Modal Sharepoint html (SP.UI.Modaldialog.showModalDialog) straight from "parent" page
I have a function abreModal() where, I use the call SP.UI.ModalDialog.showModalDialog to open a Sharepoint modal where the content is a Newform url (Sharepoint registration page). I would like to…
-
0
votes0
answers30
viewsHow to change slide configuration parameters in javascript according to screen size without updating the page
It is possible to land the configuration data on a slide with javascript programming according to the screen size without the need to update the page so that the javascript settings are updated to…
-
0
votes0
answers16
viewshow to call a Function JS in the parent file
Hello guys to using to make window in my app Jspanel which is excellent but I’m calling a page detro the window using the script below $.jsPanel({ title: 'Cadastro de usuário', "resizable" : false,…
-
0
votes0
answers10
viewsapexcharts does not plot the information
Someone, I have a strange error here with Apexcharts + PHP and Javascritp, although the console show that the information is coming right he does not plot, I have looked at the documentation and do…
-
0
votes0
answers18
viewsFunction to leave image in Grayscale
I have a rule where I change the color of Badge according to the "value" of the input, next to this rule I need to put another to change the color of the image to Grayscale (if possible without…
jqueryasked 4 years, 2 months ago Maykonctba 31 -
0
votes1
answer24
viewsHow to prevent the focusout event from firing when minimizing the browser?
I’m using the focusout event to call a function when the field loses focus. The problem is that when I minimize the browser window, the event fires because it seems to lose focus. The same occurs…
-
0
votes1
answer39
viewsAs popular SELECT from a modal created with JQUERY
I have a Modal that creates dynamically when the user clicks on a link, as the link opens a different modal. I would like to popular a Select that is within that modal. I have tried only with a…
-
0
votes1
answer29
viewsjQuery - Trigger event only in the clicked element
Hello, I’m a beginner in jquery and I have the following problem: I have the same element that repeats several times on the page, and when I click on it I need to perform a function. But the…
jqueryasked 4 years, 2 months ago Nayara Nascimento 1 -
0
votes0
answers26
viewsI need to crop an image with croppie and change the value of an input file
Hello guys I’m in a big dilemma. When I crop the image I can view <img src="*****">, but when I click save the image gets in original size! At this location is where I need to recover the…
-
0
votes0
answers25
viewsSending files via ajax to Webmethod
Good afternoon! I’m trying to send files via ajax for a WebMethod in c#, but I keep getting back my whole html page Javascript //Upload de arquivos $('#upload').change(function () { var fileUpload =…
-
0
votes0
answers18
viewsI need to recover the value of an image and insert in an input file with item_photo id
I’m a beginner in programming and I’m in a big dilemma, maybe it’s easy for some but I’ve been trying for days and I can’t. $('.crop_image').click(function(event) { $image_crop.croppie('result', {…
-
0
votes1
answer103
viewsBackground with Parallax does not appear
https://codepen.io/carcleo/pen/JjbYQWa In the code below (and also in the codepen above) I have 2 div’s where I’m doing an effect Parallax. But I need to make the effect happen with background…
-
0
votes1
answer81
views -
0
votes0
answers24
viewsChanging TD Data from a Table
Hello. I have a table where td has an ID with the Cod of a product, for example: How can I get this ID and change the info without updating the page? I’m using Ajax to do the database searches, and…
-
0
votes1
answer34
viewsHow to use the Jquery Keyup event to show records within a div coming from a PHP script?
I am working on a project where I would like when I was going to type some value into an input, to be showing the records just below it. Below follows the code structure I have until then:…
-
0
votes1
answer17
viewsDo not select any dropdownlist value
Hello I have the following dropdownlist: @Html.DropDownListFor(m => @item4.Status, new List<SelectListItem> { new SelectListItem { Text = "Sem malha", Value = "Sem malha"}, new…
-
0
votes0
answers45
viewsCreate dynamic html table by setting the class or id to rescue later with jquery
I’m creating a dynamic table as the user adds content. Then I need to take this data and create the object and send it to the controller, to create the table I used the following way: function…
-
0
votes0
answers38
viewsAjax does not recognize new values returned
I am using the following function to change the status of the Active to Inactive registration and vice versa, the first click works perfectly, but when the data is returned to the button the code…
-
0
votes0
answers30
viewsHow to pick variables with repeated names in the ajax method
Come on, I have an AJAX method that takes values from a form and saves them in the session. There are several forms with the same fields, they are generated automatically according to a database, so…
-
0
votes1
answer23
viewsHow to get information from an option with Jquery/Javascript
This select is an ajax, which I then receive and put into a modal. I needed to pass some values by select and then use them in addAtributo function activated by a button click <select…
-
0
votes1
answer36
viewsEvent with Table Click
I am working with the FIPE table query API and, I would like to make sure that by clicking on any of the items in this table, the current table hides, and then a new table with the specific…
-
0
votes0
answers10
viewsAjax problems with Firefox 86
I have an application using Spring Boot, Bootstrap and jQuery running in Firefox. In the combo there is an ajax call. During the GET request, the screen objects disappear and when the combo returns…
-
0
votes1
answer30
viewsAjax running before fileReader sequence is grounded
I’m developing a form that can receive multiple images in a file Multiple input field. The method I am using converts these images to Base64, and so sends them via POST to an Hidden input with the…
-
0
votes1
answer62
viewsChange the HTML background when input is true
I’m making a website where you’ll have as background a photo of Heisenberg saying "Say My Name" with a text input in the middle of the screen and when the user type Heisenberg the background will…
-
0
votes1
answer27
viewsRequesting data stored in the localStorage
I am using Google Translate on my site, and it is working perfectly, but when updating the page it returns to the default language of the site, the data appears saved in Localstorage and even then…
-
0
votes1
answer33
viewsShow tooltip only when no modal is open
Hello, I have a screen where in its opening a modal may or may not be open, and also I have a tooltip on the screen that should only appear when the modal is not opened, when the modal opens the…
-
0
votes2
answers30
viewsEnable input with enter key
Good afternoon, esotu trying to create a login system and to enter the system by clicking the enter key on the keyboard, ends up redirecting to my "forgot my password" besides activating the key…
-
0
votes1
answer39
viewsDropdown with check radio, how to know which one is selected?
I currently own a dropdown id drop and within it some checkbox radio. Currently I have the following code to know which checkbox is selected and its value. There is a more practical way to do this…
-
0
votes1
answer29
viewsSend JS variable value to PHP
So, I have a table where I display the database data. On each row there is a button where I added an event onClick , which calls a JS function and opens a modal. In this function, it passes the…