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
answer32
viewsAnoimate function only works in Chrome
Hello! I’m playing a little game with javascript, where the program gives the player a certain amount of time to write a sentence, counts the letters, words and presents the results on a scoreboard.…
-
0
votes1
answer610
viewsCalculate the total value of an order with jQuery
I’m new to jQuery and wanted to do a simple sum operation, but as I’m learning the syntax I still have difficulties. I managed to generate the total value of the orders, however, I cannot generate…
-
0
votes1
answer179
viewsProblems When passing data via ajax
I have a form where it is validated by jqBootstrapValidation.js, and is sent to another file, which is the file below: // Contact Form Scripts $(function() { $("#usuariosForm input,#usuariosForm…
-
0
votes1
answer882
viewsupdate input with jQuery
In each table row I have an input, I need to change the input value with the row position value. How can I do this? $(document).ready(function () { $('tbody').sortable({ axis: 'y', containment:…
-
0
votes1
answer1411
viewsAdd dynamic fields in jQuery
I have the following HTML <form id="FrmLoja" method="post" action="#"> <input type="text" name="valor[]" id="valor" value="0" /> <input type="text" name="valor[]" id="valor" value="0"…
jqueryasked 7 years, 11 months ago Sr. André Baill 6,946 -
0
votes2
answers3154
viewsSum values of a TD with Avascript
Good afternoon, I have a script that helped me to make right here, which creates a table after reading information from a textarea. After the table is ready I wanted to add up the values of one of…
-
0
votes1
answer461
viewsInsert multiple html with ajax
I have the following code in jquery: musicas: function(){ $.ajax({ url: 'assets/includes/oloco.php', type: 'GET', dataType: 'json', beforeSend: function(){ efeito.inicio(); }, success:…
-
0
votes0
answers552
viewsPlace . txt local file inside a local page
Eae, y'all. I want to warn you first that I don’t know much about java and these kinds of code, so I hope I don’t have any answers, but come on. Next, what I need to do, for a project, is to use the…
-
0
votes1
answer36
viewsProblems with PHP+ jquery
How do I take a value from a button in jquery and move to another page? My problem is to pass the data of the request I received from the bank and make this data appear on another page and I want to…
-
0
votes1
answer387
viewsjquery Dropzone.js with duplicate file check using md5
If you use a simple check in the "addedfile" event of the "Dropzone" component it works normally by sending a file, or adding several at a time and also selecting several and sending at once.…
-
0
votes1
answer281
viewsActive menu after refresh with localStorage
I have this code that makes the menu active and expands. <li class="menu-item"> <a href="#" class"active"> <span>Posts</span> </a> <ul class="sub-menu">…
-
0
votes3
answers200
viewsError picking element by class (but with ID)
I’m trying to get a video element from CLASS,(something that seems silly to me), But I’m not getting it, take my example: <script src="jquery-3.2.1.js"></script> <video id="Video1"…
-
0
votes0
answers50
viewsMake a while run from the click of a button
I have a form that must be filled out automatically. But this fulfillment depends on a user’s choice, so it should be executed after the choice, I believe a button would be ideal. To illustrate the…
-
0
votes1
answer704
viewsPerform calculation Quantity x Value between inputs in shopping cart
I’m trying to make a calculation in my shopping cart, for example: quantity x price playing the result in another input, I was able to do for the first product, but the others are not working. The…
-
0
votes1
answer463
viewscreate div at runtime
I have the following html: <div> <h3>Use font awesome icons</h3> <div id="lobipanel-font-awesome" class="panel panel-info"> <div class="panel-heading"> <div…
-
0
votes1
answer491
viewsTake JSON information and insert into the loop html using getJson
Next, I have a table in an html page, example: <table> <tr> <th>nome</th> <th>e-mail</th> </tr> <tr> <td>Jill</td>…
-
0
votes1
answer1070
viewsLoad DIV automatically with Ajax
I need a drug IVD to be filled in the moment the user chooses one of the options in a combobox (subtype). In my index I have the combobox, where I created the Ajax script as below:…
-
0
votes2
answers825
viewsHow to redeem checkbox value in the form using serialize()?
I have a form in which it is created dynamically using the method append. The result is something in this format: $('#form').append("<tr><td class='td-min'><input…
-
0
votes1
answer302
viewsParallax.js does not work in Chrome for Mobile
The effect Parallax.js (http://pixelcog.github.io/parallax.js/) works only for desktop browsers. Something can be done to make the effect visible on mobile devices? I’m using the default classes and…
-
0
votes0
answers64
viewsDoubt with mysql query bring results even if you have nothing
I have the following query inside a javascript that generates a graphic: <script> $(".sparkline_one").sparkline([<?php $sql="select count(id) as total, DAY(dia_criacao) AS DAY,…
-
0
votes1
answer55
viewsKeep values in fields during Jquery/PHP validation
I have a form that I validate using jQuery/PHP. After 50 years using, I realized that during the validation the values of the fields are erased. How would I keep the values in the fields during…
jqueryasked 7 years, 11 months ago user24136 -
0
votes0
answers504
viewsRemove json_encode result /ufeff
When making a registration using ajax, Success does not execute the commands from within it, when analyzing the code I noticed that there is a /ufeff in the value returned by php and I think this is…
-
0
votes1
answer124
viewsSplit table into two div
Hello I have four div with fixed size 300px each, and a table in the first div, I need that when this table exceeds the size 300px the rest of the content go to the second div and so on. #pg1{…
-
0
votes2
answers1104
viewspass the id of an input to another page
I have a form that we inputs has the field id and when sending the form I wanted to recover these values in my code. <form action="edit.php" method="post"]> <label class="" > <span…
-
0
votes2
answers39
viewsImage disappears after animation + window resize
I’m building a menu for my blog, I found some code on the net, and I’m trying to implement one of them. The problem is this: the image (logo) disappears from the menu (header) when I do the…
-
0
votes1
answer833
viewsRemove row from table after deleting via AJAX
I have a table that shows student records, and each row has a button to delete the student, and the deletion is done via AJAX. I would like to fadeOut the line that is deleted, so in AJAX Success I…
-
0
votes1
answer62
viewsPrevent Google Event sending when pressed F5 and access via GET
Personal talk! I need to do a prevention of sending event of analitycs in the following scenario: I have a form that when Submit is given, the post is processed in ajax and this ajax returns a URL…
-
0
votes1
answer45
viewsProblem recovering 2 values with javascript and jquery
I have the problem to recover 2 values and send by load. I can recover the data from the data attribute link but the input I can’t recover to concatenate with the data and do the right thing.…
-
0
votes2
answers125
viewsCheck Internet connection, if not add modal
Hello I have this code below that checks if there is an image in the url, if it does not exist. I would like that in the place of Alert that he called a modal informing that this without internet…
-
0
votes1
answer62
viewsProblem loading jquery load
I’m having trouble loading these values in the jquery load. Follows the code. Javascript: $('.buscando').click(function(){ var id = document.getElementById('campo1').value;…
-
0
votes2
answers143
viewsInput event only happening when loading the page
Hello, folks at Stackoverflow. I try to make a textarea of a web page I am developing continuously check whether the typed text is the same or different from a predefined phrase, according to the…
-
0
votes0
answers244
viewsTake the value of a listed <td> (JSP)
Eae guys. I’m making a system for the college, I wonder if you forum could solve a problem that I’m going through. My sell screen needs to take the unit price value that is on a chart. The user can…
-
0
votes1
answer198
viewsError when adding column with dynamic table in Jquery, with dblclick?
I have a dynamic table with data extracted from the database, and I make changes to the values and salaries dynamically without problems, but at the end of the table I created a <tr><td…
-
0
votes0
answers28
viewsError while calculating fields in IOS safari
I have a problem in the development of a small calculation system where the user needs to put a value in a field and the system brings the results according to a specific account. In all windows…
-
0
votes2
answers220
viewsReturn Jquery data within Input
I have the following HTML <select id="id_cliente"> <option value="1">CLIENTE 1</option> <option value="2">CLIENTE 2</option> <option value="3">CLIENTE…
-
0
votes0
answers96
viewsModify function return in Fullcalendar
I’m trying to make a script go to my database and return the data through a function. Follows: events: function(start, end, timezone) { // var convert =…
-
0
votes1
answer64
viewsjquery ajax error
I cannot play the result of the ajax query inside a table. The result is an array (result = Object {Query categoriesresult: Array(6)}) <html xmlns="http://www.w3.org/1999/xhtml"> <head>…
-
0
votes1
answer2674
viewsHow to configure the Materialize Pickadate correctly?
I set up the pickadate of Materialize on an only page that it is getting in English and when I leave and go back to the tab that has the pickadate it opens without me clicking on the field. I…
-
0
votes2
answers585
viewsConflict: Jquery Validation + Bootstrap 3 Tooltip
I have a conflict between Jquery Validation and Bootstrap Tooltip, so when I send the empty form and Validation goes into action, and Tooltip appears with Focus in input, each time the input loses…
-
0
votes0
answers91
viewsGet all the information from a <tr>
Good morning. Within a tag <tr> there are about 15 tags <td> (information coming from the database) is not all being displayed. Each <tr> owned a <td> with the option to…
-
0
votes0
answers540
viewsJquery - Run a function within another function
I use the Sweetalert2 alert (https://limonte.github.io/sweetalert2). With it, there is a function that excludes an item: $(document).ready(function(){ readProducts(); /* it will load products when…
jqueryasked 7 years, 11 months ago Rogério Pancini 397 -
0
votes1
answer66
viewsjQuery and css menu
The icone is not aligned with the text Good follows the code of the menu, I already thank the help. $(".top_menu ul").each(function() { alignMenu(this); var robj = this; $(window).resize(function()…
-
0
votes2
answers73
viewsInsert idented HTML into jQuery
Why can’t you put the idented HTML in jQuery? If I put it in "straight" it works, already if I put it indented, to be easier to edit later, it no longer works. Why? UNFORMATTED, IT WORKS:…
-
0
votes2
answers829
viewsImport a file containing script and link tags
I am creating a website where on all pages the script and link tags to import the JS and CSS libraries are repeated. Is there any way for, for example, I create a script.html file (for example) and…
-
0
votes1
answer111
viewsGif loading when searching
Hello I am implementing that self-cmplete And I would like that while the system searches the items, it show a gif by clicking on the corner of the input. <!doctype html> <html…
-
0
votes1
answer20
viewsJquery is rescuing the options text along with the label text
While working on something I stumbled on the following situation. Follow the code with the "problem": var oi = $("label").text(); $("div").html(oi); <script…
-
0
votes1
answer210
viewsFix DIV between the head and footer of the page
Good people I have a div that gets fixed when scrolling the page, but I want it to scroll back with the page before it gets to the footer. The code below makes that when reaching the 300 of the…
-
0
votes1
answer45
viewsRemove jquery tab bottom line
I’m trying to remove the bottom line of a tab, but I haven’t been able to Follow this tutorial and nothing. When placing my code, the line cuts the text <html lang="en"> <head> <meta…
-
0
votes1
answer151
viewsTransition between clicks on href bootstrap link
I would like that when clicking on the contents, it would disappear smoothly and show the other content. Only the way I’m doing it, he shows up, disappears and shows up. var codigo = 0;…
-
0
votes1
answer87
viewsAdd onclick() values
I have this code: var tudo=0; function muda(a){ o=$("#"+a).attr("data-ocupado"); var t = $("#gasto").html(); if(o==1){ alert("Lugar já Ocupado!"); }else{ p=$("#"+a).attr("data-preco"); var confirma…