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
answers199
viewsCapture URL that is inside a div with Jquery
I have a project where there are several boxes, with an image, and a link. I would like it when I click on the class . single-project captures the value of href, but I’m not getting it.…
-
0
votes1
answer222
viewsChange button class after filling all fields
I have a button that needs to be enabled when the user finishes filling the fields, but it needs to be changed the class when it is enabled... when the button is disabled I would need that while the…
-
0
votes1
answer67
viewsRepositioning li with Jquery
The system I am working generates a li with a contact list, every minute Jquery makes a query to check if it has message to any user from the list. Currently if you have a message, the system…
-
0
votes1
answer103
viewsDouble click Jqgrid does not work in Cellular
I have a Jqgrid that works perfectly in the browsers of the computer, however when I open on mobile, the double click function stops working. $table.jqGrid({ url:…
-
0
votes1
answer460
viewsNav-tabs nested
Friends I have a Nav-bar that is calls a Nav-tabs1 and I would like there to be another Nav-tabs2 only that when entering all the options that are called after by Nav-bar do not stay on Nav-tab1, it…
-
0
votes1
answer33
viewsGrouping into dynamic objects
My php is returning this data: {"question":"Name","answer":"jorge","qt":"1","graph":"table"} {"pergunta":"Name","answer":"Jorge","qt":"2","graph":"table"}…
jqueryasked 6 years, 11 months ago Carlos Lopes 185 -
0
votes0
answers81
viewsAngularjs ng-repeat does not display data
I made the request via get using the Laravel as backend. However, if I update some data in the database itself, I need to refresh the page where it is loaded angular for it to update. Using the…
-
0
votes1
answer66
viewsplugin creating empty space below HTML when resizes the screen
In the page down below: http://funerariasaopedro.net.br/showroom I’m using the plugin jquery.ez-plus.js. that gives zoom at images. Everything works fine. But when I resize navegador clicking in the…
-
0
votes1
answer110
viewsquery the bank with ajax in beforeSend
How to make a bank consultation with ajax in the beforeSend? Example: var formData = new FormData(this); $.ajax({ url: "../_requeridos/cadastraPlano.php", type: 'POST', data: formData, beforeSend:…
-
0
votes1
answer1081
viewsGet span information inside div
I have the following HTML structure: <div class="ui fluid search dropdown procuraAluno selection multiple active visible"> <select name="ci_direcionado" id="cisOptions" multiple="">…
-
0
votes0
answers139
viewsCheckbox - Display content according to active option (clicked)
I’m trying to display certain content according to the selected checkbox, until this step everything ok, I managed to get the content to be displayed. Now comes the second part which is where I am…
-
0
votes1
answer545
viewsHow to create shortcuts with Javascript
The Script that follows below should allow the user to type the ALT+C combination where he would open a prompt and then enter a code to redirect to the page according to the numeric condigo…
-
0
votes1
answer115
viewsToggle update Mysql database automatically
How can I make through toggle I update my database? I have toggle below: For that, I’m doing it this way: <div class="onoff"> <strong>Desabilitar notificações por e-mail:</strong>…
jqueryasked 6 years, 11 months ago user24136 -
0
votes1
answer1364
viewsHow to receive data in JSON (REST)
Hello, I am learning to program, I am in the 1 semester of development and I am being charged at work to learn how to do this, and I would like to know if what I did is right or not <!DOCTYPE…
-
0
votes2
answers66
viewsWhat’s wrong with this query?
Okay, I’m trying to select a database through ajax using jQuery. Below are excerpts of the code I’m using and more explanations: Ajax function function carregaRegistros(dia, mes, ano) { dia =…
-
0
votes1
answer39
viewsProblem with jquery with multiple Forms
I have several formats in my code that I need to send the information with ajax to PHP, is returning this error: Uncaught Referenceerror: formID is not defined It says that the formID has not been…
jqueryasked 6 years, 11 months ago Wagner Martins Bodyboard 698 -
0
votes0
answers19
viewsModify href with Jquery
Personal Beauty? Next, I’ve been racking my brain for days and I can’t find the solution I need. I’m developing a onepage wordpress site. I created all the pages I need (index, about, contact etc)…
jqueryasked 6 years, 11 months ago Fabricio Esmerio 1 -
0
votes1
answer1401
viewsUpdate Datatables table after Ajax request
On my page I have the following: $(document).ready( function () { buscaProdutos(); } ); When the page is loaded it does a search of the products to list in the table. Within this function…
-
0
votes0
answers47
viewsjavascript search stopped after jquery exchange
After updating the jquery of my page, which was version 1.8 the search stopped working, below the code, I’ve been reading here in stackoverflow and made some changes but did not work if someone can…
jqueryasked 6 years, 11 months ago Rafael Batista Dos Santos 1 -
0
votes0
answers432
viewsHow to make a score in PHP or JS?
I saw many similar questions but none answered me, I would not like to use Ajax as it is an exercise the teacher asked only JS, HTML and PHP. I made a mini quiz game, everything is working right but…
-
0
votes1
answer114
viewstrade html da li
I have a ajax jquery that will receive the click of a href with a figure within. I wanted to make sure that only during the execution of ajax to image background of li, and not of href was changed…
jqueryasked 6 years, 11 months ago Carlos Rocha 1 -
0
votes1
answer26
viewsEnable time in datapicker
I am using boostrap-material-datetimepicker.js which as a result follows below: The only problem is when I change the line below: minDate: moment().endOf('day') It also disables the time according…
-
0
votes1
answer28
views.Parent() within beforeSend
I have the following code: // JavaScript Document $(document).ready(function(e) { $("a.excluiAdmin").click(function() { if (confirm('Deseja Excluir este Administrador?') ) { var link = $(this);…
-
0
votes1
answer333
viewsShow Fullcalendar events using PHP POO
I’m almost in a Karate Kid position with the notebook because of Fullcalendar :/ The thing is, I’m trying to get the data from a table through Fullcalendar. As I use the procedural mode, it stayed…
-
0
votes1
answer78
viewsShow data from one ajax function, in another ajax function
I have an ajax function that looks for the code of all companies and goes in the other ajax function looking for employees. So that the page does not stop when doing this search I am using the…
-
0
votes2
answers111
viewsload disables jquery functions
am giving a load() on my div, but it always disables jquery commands as soon as it load! Any solution??? $(document).ready(function () { $('#form_campo').on('submit', function() { $.ajax({ url:…
-
0
votes0
answers66
viewsHow do I make a Modal appear when the event is on an existing date in Fullcalendar
I have a system that I am using Fullcalendar for CRUD. It is working OK, but I was attack to a detail that had gone unnoticed. When the user drags a particular event to another date at the same…
-
0
votes1
answer30
viewsHow to recover input value separately from Numbers with same class
Well, I’m having a little trouble getting the value entered in the input number of some cards I created... Basically, it’s repeating the value on all inputs of all cards All inputs are in the same…
-
0
votes1
answer161
viewsEvent back to the previous date when there is an event already registered at the same time
How do I make the user by dragging an event to another date at the same time, return it to the previous date? It already sends an alert if the event is at the same time, but it only returns to the…
-
0
votes1
answer464
viewsAngular Scripts
Hello, I have an angular application where I am using jquery scripts to implement a datapiker and a timepiker, these presented below: I have a separate script for their startup, presented below:…
-
0
votes1
answer232
viewsList Database result in checkbox with AJAX and Jquery
I have a function that searches the bank for an entity list and shows in select. However, I need this same list to be shown at checkbox where the user can check more than one option. How to show…
-
0
votes2
answers719
viewsHow to return ajax errors with jquery in Laravel 5.6
From what I read in the documentation, when using ajax, the answer is always returned in json, but I cannot receive the information to print. The message returned on the console is:…
-
0
votes0
answers68
viewsJS Function that Validates Email to IE and Edge
I have a JS code that validates email perfectly and is in use in the portal. No then this function does not work in the IE and/or Edge browser. function validaEmail(email) { var regex =…
-
0
votes1
answer55
viewsHow to send only the quantity of products that were selected in the checkbox?
I displayed a table of items and in this table I added a checkbox for each item and a field to pick the quantities of each item. I’m managing to send to PHP only the items marked in the checkbox…
-
0
votes1
answer135
viewsJavascript onClick event does not work with data-modal - Asp.Net Core MVC
I have a Datatable in my Index where the lines are loaded using Javascript. The Edit, Details, Delete and History buttons are created together. They all open in a modal window (the modal block is…
-
0
votes2
answers21
viewsHow to eliminate registration in a modal without closing?
Good afternoon! I make a request via AJAX to open a modal. I list a data set and have the option to delete the record from the table. The problem is that whenever I delete a record the page gives…
-
0
votes2
answers1940
viewsSend form and post message of "success" on your own page, and after clicking on Submit appear another button
Hello I’m new in these code things and wanted to know how I make to appear the success message after I give Submit, I want those messages that appear the green field, like a div and edit with css.…
-
0
votes1
answer681
viewsScript file on an angular Component
Hello, I have an Angular System that requires a specific script! This Component is not started on the first screen of my application, so I cannot put my script file in the Bundler, because by the…
-
0
votes1
answer91
viewsCheckar all daughter class radiobuttons checkbox
I have a page that will display a Checklist, the data displayed is coming from the database. I need that when the user clicks on the first checkbox (id="selectTdsA", for example) it selects all the…
-
0
votes1
answer105
viewsHow to display a message after deleting a record using php?
I have a page with a list of data and for each record I have the option to delete. When I click the delete button, before performing the action it checks in a controller file which action was…
-
0
votes0
answers28
viewsKeyboard navigation for accessibility
We are developing a site with accessibility ( support this idea :D ), but we found the following problem. When we created the shortcuts: Alt + 1 In Chrome it changes the tab and does not go to the…
-
0
votes0
answers20
viewsSemantics - Hide or remove feedback messages?
I know that this question can be closed because it is based on opinions but, in order to maintain good practices, follow the scenario below: 1- User made a registration on the site. 2- I display a…
-
0
votes1
answer80
viewsMessage with Delay in Jquery
I have the following code: if(oper == 1) { $("#op" + iddoc).html("<input type='button' onClick='AddExcDocCPS(\"" + idcontrato + "\", \"" + iddoc + "\", 0)' value='Excluir'…
-
0
votes2
answers345
viewsTaking value from an attribute inside an input from a table column
I have a table and this table has a column that has an input like checkbox. In this input I created an attribute. How do I scroll through this column and retrieve the attribute value? <html>…
-
0
votes1
answer534
viewsHow do I export the values of a form to PDF with the jsPDF plugin?
I am working on a project that needs to turn a page HTML in an archive PDF. I’m using the plugin jsPDF. There are many examples of how to turn htmls into pdf, "but", all examples I’ve seen use only…
-
0
votes1
answer1257
viewsmaskMoney(jquery) not displaying value correctly
Good afternoon guys, I’m having a problem using the maskMoney plugin from jQuery. I am using the following statement before <div style="float:left; width: 25%"> <asp:Label ID="Label24"…
-
0
votes0
answers226
viewsStore checkbox value in database
I need your help... I have a custom checkbox, where the user clicks and is "ON" or "OFF" and this value must be saved in the database and must remain checked or unchecked indicated by the…
-
0
votes0
answers187
viewsProblem with mobile-only Ajax request
I have a code Ajax that takes the data from a simple message field and sends it to my database without the page being updated, only the problem is that everything works perfectly only by computer,…
-
0
votes0
answers27
viewsFetch names from all files in a folder?
I have a code made to fetch images but it’s a little more complicated than that. $("#publi_not").change(function(){ var p = 0; var r = 1; var val = $(this).val(); var valor = $('#publi_not…
-
0
votes0
answers290
viewsadd attribute to an unknown select option or more
I have a code that dynamically defines input fields. In one context, I have several selects being defined, and I do not previously know the name or your id. Select inputs and selects options are…