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
answer405
viewsDatatable sorting problem in the Brazilian standard of numerals
I got a little problem, I bet a lot of people have been there. We know that there are several standards of formats in different countries, I’m using a plugin front-end quite known when it comes to…
-
0
votes1
answer338
viewsChanging model value by Jquery and Asp.Net MVC?
I have a model where I have the attribute status, this attribute is a int that define values. In my form I have 2 buttons: gravar e publicar and gravar, each of these buttons would be a value for…
-
0
votes1
answer230
viewsHandle datatable return data
My problem: I need to submit an object to my action. The component that manages the tables today, adopted here in the company, is the datatable. In order to send this parameter, I had to change the…
-
0
votes0
answers104
viewsRetrieve Jquery variable in PHP and generate cookie
I have this pop-up that, when clicking, will fetch the user’s geolocation: <div id="modal_success" style="display: none;"> <div class="modalcontent"> <div class="modal-header"…
-
0
votes3
answers332
viewsReceive Jquery and PHP response from second to second
Galley, I have a page in PHP that makes a query in the database at the end of the processing I show the amount of records updated. This process takes a while, in my Jquery I only show the total of…
-
0
votes3
answers543
viewsjson php error, but json is correct
My php script returns a json, porˆm when js will read json error. But copying and pasting the same json into a validator (e.g.: https:/jsonlint.com/) claims to be correct. For those who can help me…
-
0
votes0
answers85
viewsPass generated Java code to another page within the <script> tag
I have two functions one prepares the data and makes a call to Ajax and within the call to Ajax has a callback to another function. According to code below: function…
-
0
votes1
answer65
viewsError going through table html with jquery
I have a table HTML and I need to take the values of value='1' data-chkIdProcessamentoDiario='1' data-chkIdRegistro='1' and assign in an array, but the problem is that apparently the each does not…
-
0
votes1
answer286
viewsUpdate multiple form files after jquery/ajax post request
I have two requests post in the form, one inactive and another activates a register, as they are equal I will display only one to exemplify: function inativarCadastro(cod) { $.ajax({ url:…
-
0
votes1
answer193
viewsProblems uploading images with the Dropzone library
I’m using the library Dropzone, it is working the only problem is that the selected files do not reach the server, always returns me Undefined index files, what could be? The form looks like this:…
-
0
votes1
answer49
viewsMerge upload and input ajax
I have this form: <form id="formForum" autocomplete="off"> <div class="boxContent"> <div class="form" style="margin-top: 0"> <div class="profile" style="background-image:…
-
0
votes1
answer1369
viewsUncaught Typeerror: Cannot read Property 'addeventlistener' of null
I am using a script from a modal window, but is causing the error and Error Uncaught TypeError: Cannot read property 'addEventListener' of null and error: at Array.forEach (native) Complete code: (…
-
0
votes1
answer396
viewsHow to return to the "normal state" of Html after a refresh-free Javascript query?
all right? I’m having a very boring question here and I haven’t been able to find any viable solutions. Well, I’ll explain the problem. This is my class where I will return my query <div…
-
0
votes1
answer118
viewsTable header thead does not align with lines after append
I have a problem with the code, I need to align Thead tags on my table that receives a json of all the data, the data is coming and the header is there, but both are not aligned, I need a help. HTML…
-
0
votes1
answer240
viewsHow do I use checkbox to update information in mysql?
I’m using the Ajax to update the database, but I am passing data by reference, it works and updates in the database, but if you click the button to disable it works but if I click to disable and…
-
0
votes1
answer501
viewsPass parameters in jquery . on
Hey there, guys. I’m trying to do a function to delete a node from an xml, but I have a problem that is the following: In pure javascript just by me onclick="function('')" inside the html tag for…
-
0
votes2
answers161
viewsChart Jquery entering array values
So it’s the following guys, I have 2 array variables that have been converted from php to javascript, so far everything ok. I used Alert to see if it showed and worked. What I intended was to store…
-
0
votes1
answer526
viewsHide select field according to radio button
I am trying to hide select fields according to the option chosen in the radio button I can hide the inputs, but the select fields I’m not getting, someone could help me? Form: <div…
-
0
votes0
answers57
viewsHow to Edit table values via JQUERY after web service receipts
I need to create functions to edit/change and delete values from the table that arrives via JSON from a web service, the part of the webservice to handle what will be sent I know how to do, how do I…
-
0
votes0
answers56
viewsJquery Chart + PHP Two-Dimensional Arrays
This question is a bit repetitive however I tried to reformulate the code in a different way. So this is the following person, I performed a database query to fetch the values of the tags and the…
-
0
votes2
answers2339
viewsClear selected option from a select with jQuery
I am with a form with radio Buttons, and when I select the radio Buttons it will appear/ hiding the fields I want. So far so great, but if I select an option on and then change radio button, that…
-
0
votes2
answers4656
viewsHow to make a DIV disappear after a few seconds
In my adventure discovering html/php, I ran into another problem. I have a DIV, where the user data appears after a correct login, and I would like to make this DIV disappear through javascript.…
-
0
votes1
answer134
viewsHelp with Jquery does not appear
I have a problem on my site , I had the help of a member of the forum who gave me a code jquery , I put it to run on my site only I have a problem with it the warning that should be generated does…
-
0
votes1
answer749
viewsjson php + javascript
I need the following: I got what was typed in the input with the code below and I go to the url: http://bonusdogeronimo.com.br/rtv/indez.php <script> $(document).ready(function(){…
-
0
votes0
answers37
viewsSearch Datatables in serverside mode
I’m about to finish a project and still need to improve the Datatables research. Use serverside mode and ajax search is this: <?php /******* Conexão com o bando de dados *******/ include…
-
0
votes1
answer127
viewsUpdate contents of a. load()
I wonder if it is possible to update the contents of a load. Example: I have a form on the page "html submit." <form action="submeter" method="post"> <input type="text" name="nome" value=""…
-
0
votes1
answer46
viewsClick working wrong
I have that code: function loadEditLabel() { // Salva o novo input saindo do campo ou apertando enter $('[contenteditable="true"]').focus().select().keydown(function(event) { if (event.key ==…
-
0
votes1
answer770
viewsHow to clear the contents of a variable within a JQUERY function?
I’m starting to study Javascript and Jqueryui am developing the following page: The problem is that when I click on a new date the old one is not reset as Print below: I’ve tried everything to…
-
0
votes1
answer236
viewsError Load multiple pages in php site
I have a PHP site where I have to upload several pages. But only once.What’s happening is the overlapping of screens with various inclusions. <div class="container"> <h2>MAPAS</h2>…
-
0
votes3
answers2794
viewsSum values of two inputs and show in third
I’m a beginner in jQuery and I’m not being able to add up the values of two different inputs and show in a third input the result without refreshing the screen. Could someone help me? These are the…
-
0
votes1
answer52
viewsPlot X Axis Graph with Date
Galley, I have a chart and I would like to put on the X axis the Date It was like this: xAxis: { tickColor: 'transparent', tickDecimals: 2 }, I put it like this: renderer: $.jqplot.DateAxisRenderer,…
-
0
votes2
answers123
viewsJquery does not run on the first page load!
Hello, I have a page where the first load of it Jquery is not executed, when updating the page (refresh, F5) the function written in Jquery now works. I’m using Jquery with technology Ruby On Rails.…
-
0
votes3
answers45
viewsClick UL to A
I have the following structure: <div class="submenu"> <ul> <li> <div class="btn-submenu btn-submenu-xstore"></div> <a href="/plataforma-de-ecommerce">xStore -…
jqueryasked 7 years, 10 months ago Felipe Viero Goulart 3,693 -
0
votes1
answer653
viewsvalidate dynamic field with validate
I’m trying to do a validation for a dynamic field with validate, but it only validates once. The dynamically added fields are not being validated follows below: $(document).ready(function() {…
-
0
votes1
answer89
viewsPlacing delete method inside a Jquery append
Guys I’m with the following situation, I make an append and inside it I need to send a delete method, to treat it in the web service I’m having doubts, I’ve tried to create a form inside, but it…
-
0
votes2
answers684
viewsPass input values to PHP
I have two inputs, one filled automatically by a PHP script, and the other the user enters the value, and a third input to calculate the subtraction or addition of the first two inputs. I created…
-
0
votes3
answers403
viewsLoop for inside a function
I have a Nav with 5 buttons, and a footer with the same amount, when clicking on the footer buttons they serve anchor to the page, but I need to compare with the Nav items to add the class "Active…
-
0
votes1
answer83
viewsPick up a dice value and play on var
I’m developing a web server in PLC, in which you’ll be able to take the data from an air hose to see if the pressure is okay. I developed the code in js and set a value to see if it worked, but now…
-
0
votes1
answer13280
viewshow to load JSON file in JS and load search result in HTML code?
I made this javascript code, in a . js file, where my intention is to take the data from a JSON file and use it in my HTML. I don’t know how to use the $.getJSON function in my code to do this and…
-
0
votes1
answer2036
viewsPass parameters to the controller via ajax
Guys I don’t know anything about jquery/ajax and wanted to pass a parameter to the controller. I have a modal that opens only to ask if the person is aware of the cancellation where the only field…
-
0
votes0
answers281
viewsReal-time value for a variable
Good morning guys I have the following code sending information to a script. <!DOCTYPE html> <html lang="pt"> <head> <meta charset="utf-8"> <title>Javascript…
-
0
votes1
answer55
viewsJquery-Ui.css css is blocking page elements
I have elements arranged on my screen. However due to the use of the jquery.tab plugin css is blocking the page elements. Code Index.php <!doctype html> <html lang="en"> <head>…
-
0
votes2
answers254
viewsAdd Checkbox fields to the Loop
As I have no knowledge of javascript I would like a little help on how I can make this low script work inside a while and make that add also the decimals outside the loop it works more inside the…
-
0
votes1
answer21
viewsIndividualize Page Exchange Time
In this script below it makes an alternation between pages , it already works perfectly for me, more accurate that each page have different times from each other, example: page1.php stay showing for…
-
0
votes2
answers165
viewsInserting data into postgresSQL database with PHO, AJAX and JQUERY
I am trying to insert data into a postgres database using php and ajax with jquery. But always error. It is for a college job. Could someone explain to me the error in the code?…
-
0
votes0
answers35
viewsError in $.post method
The index.html page contains: <!DOCTYPE html> <html> <head> <title>teste</title> <script type="text/javascript" src="jquery.js"></script> <script…
-
0
votes1
answer340
viewsSwitchery with tooltips (bootstrap), how to do?
How to make Switchery show bootstrap tooltip on itself? This example does not work: <input data-toggle="tooltip" title="Hooray!" type="checkbox" class="js-switch" /> var clickButton =…
-
0
votes1
answer120
viewsError entering data into database with Jquery and Ajax
This code snippet always returns ERROR: 200. It is entering the data into the database normally, but returns error in the interface. $("#registrar").click(function(){ $.ajax({ url : "registra.php",…
-
0
votes1
answer606
viewsAssign a numeric value to an html class using jquery
I’m trying to make a memory game and for this I need to assign values to the div where they will be stored to compare if the selected figures are equal. I tried this way (as code below) but it is…
-
0
votes2
answers201
viewsShow and hide caption with jquery
I’m trying to show and hide a div if the slide div has the active class. The problem is that the div always keeps being displayed, even when the bootstrap slide changes and the active class is…