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
votes3
answers767
viewsRemove attribute from a DIV only in mobile version
I would like to remvover the href of an element only in the mobile version, which would be at 769px, the href that I would like to remove is from a menu, this menu is the same as the desktop…
-
0
votes3
answers1244
viewsAdd button to add fields
I’m trying to implement a button to add extra fields, in case I’m creating an activity report where it contains 5 fields. When the button is clicked it adds 5 more of these same field. Currently I…
-
0
votes1
answer574
viewsHow to handle xml return in Jquery
I am making an Ajax request for a PHP page that returns several data in XML. If I make a simple code recovery by opening the PHP page directly, sure, however I am making the request for another page…
-
0
votes0
answers219
viewsCreate automatic pagination with Laravel and jquery
I need to create a manual pagination in the Standard. I don’t really understand the logic of this topic: Manual Paging in Laravel 5.1 But I need to make him create the automatic pages. Not manual.…
-
0
votes2
answers45
viewsHow to add the value of the id attribute and the text of a select from the click of a button event?
I need to add to the object Select the Id and the Texto from that function: //Adiciono o item retirado da table html para o objeto html Select $.each(_arrDescricao, function (text, key) { var option…
-
0
votes2
answers1946
viewsDatatables problems using PHP and Mysql
i made a system, where the user can create table for the database, and tbm can create columns, so I don’t know which columns were created, but with the database script I can list the columns of this…
-
0
votes1
answer13
viewsConfigure the index of the image that will receive the style
I have a group of imagens within a div: <div class="boxSlide"> <img src="_imgs/_slideShow/1.png" /> <img src="_imgs/_slideShow/2.png" /> <img src="_imgs/_slideShow/3.png" />…
-
0
votes2
answers171
viewsSorted list PHP+AJAX
I have been having the following problem since yesterday, putting together an orderly list as I will search for data in the database. I suggested to do with ajax, I did with the help of a colleague…
-
0
votes0
answers78
viewsReturn if in jquery
How can I Return this if to pass the value of the page in ajax? The function brings the null value by default. Then I take the if and see and is null it is equal to 1 and if it is greater than the…
-
0
votes1
answer733
viewsAjax request error with Codeigniter (url)
I have a very strange problem, in case anyone can help, I thank you in advance. I’m developing an application on Codeigniter 3.1.6 with PHP 7.1 and Bootstrap 4. The start screen presents a list of…
-
0
votes1
answer652
viewsTake data-value that is generated dynamically
I need to take the value of a data-attr that is generated from an ajax request. The most I got was: $('.dataImposto').on('click', '.ImpostodeRenda', function(){ $(".ImpostodeRenda").html("ooi"); });…
-
0
votes2
answers175
viewsValidate all inputs in SUBMIT
I have a function that validates my fields in the event focusout, however, now I need to go through all the fields in the submit of form, I know I should wear one for, but I don’t know how.…
-
0
votes1
answer42
viewsApply CSS to URL
When I’m on /start CSS header Nav ul li . submenu must be top:300px, on the other pages should be top:120px. I put inside the $(Document). ready(Function() { }); the following expression:…
-
0
votes0
answers95
viewsHow to show the result of a conditional Java Script structure in a text box in html using jquery?
var textoUser = $("#txtFieldUser"); var textoGanhador = $("txtFieldGanhador"); var computerChoice = Math.random(); if (computerChoice < 0.34) { computerChoice =…
-
0
votes2
answers59
viewsHow do I share information on my website with others?
I have 2 sites, the first that has the information and the second that wants to take this information, which in case would be a kind of articles. Articles contain title, image, description, tags,…
-
0
votes1
answer79
viewsManipulate JSON with jQuery
I have a jQuery with $.ajax who sends a request to my config.php which in turn returns a json_array: function enviar(){ var bin = $("#bin_id").val(); var linhaenviar = bin.split("\n"); var index =…
-
0
votes1
answer3205
viewsOpen modal through Actionresult in MVC
Hello, I’m building a registration page with MVC . NET and I’m having a hard time. I want to validate the filled information, if they are correct, I will follow the application flow but if not, I…
-
0
votes1
answer113
viewsRedeem querystring value by jquery load
I’m trying to call a page through the load, this page will have a querystring that I want to pick it up on the call page, but the value comes as null when I try through the load, outside it calling…
-
0
votes2
answers148
viewsComplete fields without user having to give TAB
When selecting the product in the list of suggestions Autocomplete I have to give TAB to complete the next fields, I wanted that as the Description field was filled in the other fields were filled…
-
0
votes0
answers284
viewsHow to delete registry with modal?
I have been dealing with ASP.NET for some time and I have come across a problem that I cannot solve. The idea is only to open a modal window, click on the confirmation and delete a record. The idea…
-
0
votes0
answers102
viewsLogin through a domain
I have a problem to solve. I have a social network, and I have a chat boom chat, the social network is wowonder. I am integrating the login system of the social network in the chat boom, but when I…
-
0
votes2
answers56
viewsElement update with Jquery with return from another script
I have a formulário de e-mail simples, and when you click "Send" the "status" appears next to the button, for example: Enquanto envia, appears "Sending..." (this is already working) The problema is…
-
0
votes2
answers438
viewsDisplay a div for a given time Jquery
I wonder if there’s any way I can present the contents of a div at a certain time. Because in this case I’m inserting an html into the div and after a while I’d like it to disappear, there’s some…
-
0
votes1
answer76
viewsHow can I fetch an html file from my server and embed it into a client page?
I developed a chat, to implement it is necessary to add on the page of the client a . js (So the client does not have the job of creating the markup on his site, just import the js and ready, like…
-
0
votes0
answers107
viewsJquery $.each sync
I have a GRID on a screen where, each line has a button that calls a javascript method passing some values. In this method, a call is made via getJSON. The problem is that even in this call,…
-
0
votes2
answers254
viewsAssign a variable the value of a click on an image, to make a comparison
I had made this game using textbox, and everything worked ok, but I decided to make a modification and instead of typing put respective images to the jokenpô and the image that the user click will…
-
0
votes1
answer156
viewsInput added with . append() does not send POST data
The script below adds groups of fields in a form. So far ok. Fields are added but when I send the form I only receive data from fixed inputs, which are added dynamically are not received. Code:…
-
0
votes1
answer323
viewsCall Get action that returns a view by jquery ASP.NET MVC
I need to open the create view by clicking a button, how to do this by Jquery? Knob <div class="col-md-3"> <button id="btnNovo" class="btn btn-info form-control" style="width: 200px">…
-
0
votes1
answer21
viewshelp with for loop, with variable approaching 100
I am doing a work with images and I have the code below: var tempoTransicao = 5; var quantasImagens = $("ul.slider li img").size(); var tamanhoIntervalos = Math.round(100/quantasImagens); var t = 0;…
-
0
votes1
answer842
viewsHow to add values from a td column dynamically with jquery?
I have a payment system, which takes the total amount of the purchase and divides the amount of installments requested by the customer, and these installments can have their value changed…
-
0
votes1
answer26
viewsHow to order 1/5 plots field in datatables
$.ajax ({ type: 'POST', dataType: 'json', url: BASE_URL + '/conta_pagar/pesquisa_contas', data: {palavra: palavra}, success: function (json) { var colunaNome…
-
0
votes1
answer154
viewsLooping jquery grab button value and put on label
My dears, I have a table of users, and for each user I have a button that opens a modal: {% for item in lista_usuarios %} <tr> <td>{{ item.first_name }}</td> <button…
-
0
votes2
answers248
viewsText overflow in jQuery modal and Bootstrap
Good afternoon, I have a function in jQuery to know the number of characters in a given element and needed when more than 300 characters appear the text "see more" and opened the modal with all the…
-
0
votes1
answer73
viewsMonitor if the change event occurred in a short time
I have in my framework a trigger that sends the data from input onchange for a model that validates and returns, in this process there is a problem, each character typed is made a submission, what…
jqueryasked 7 years, 5 months ago AnthraxisBR 4,361 -
0
votes2
answers146
views"mouseout" of a div father is fired when the cursor is on a div daughter
I’m using the function .mouseover() and .mouseout(). Both work but I have a problem. The code below is what I’m using for this purpose. The effect always does the animation of <div>: both…
-
0
votes1
answer769
viewsRun Action Post by Jquery ASP.NET MVC
Would you like to delete a record in a button click by Jquery, what’s the best way to do it ? The way I did it’s not working. Action I want to call by Jquery // POST: Pais/Delete/5 [HttpPost,…
-
0
votes1
answer26
viewsconcatenate into $.keyframe.define parameters
I have the following function: $.keyframe.define([{ name: 'tocaSlide', tMin : {'margin-left': tempoImagens}, tMax : {'margin-left': tempoImagens}, }]); But I need to insert '%' after the variables,…
jqueryasked 7 years, 5 months ago Carlos Rocha 1 -
0
votes1
answer32
viewsMouse click on <TR> of the table do not trigger the last <td>
Below I have a row of a table. This row can be marked by clicking on any location of it with the mouse triggering an event click. However, specifically on the button, I do not want the javascript…
-
0
votes2
answers836
viewsGet position of an element
I have for example the following structure <div style="height: 1500px;"> <div id="dv1" style="height: 600px"> conteudo 1 </div> <div id="dv2" style="height: 300px"> conteudo…
jqueryasked 7 years, 5 months ago AntonioSantos 161 -
0
votes1
answer113
viewsFixed menu in refresh (F5)
I’ve created a menu that understands when the scroll goes from a certain point and is fixed, until then everything right, but when I rolled the page a little lower, and updated (F5) I noticed that…
-
0
votes2
answers67
viewsError taking the specific value of a dynamically created input within an html table
I have an html similar to the html below and I need to get the value of an input that is within a sub table who is contained within one another table from the click the Insert button, I saw some…
-
0
votes1
answer78
viewsUse jquery component inside a formData (fileupload)
Friends, I am using the jquery fileupload plugin and using the following callback: jQuery("#fileupload").fileupload({ url: '/painel/uploads', dataType: 'json', formData: {_token:…
-
0
votes1
answer39
viewsHow to use taggleClass for 3 different css?
When accessing pag, titles are color=blue When you click on the title the color changes to color=red (and opens contents) But when the title closes it goes back to color=blue I need: When you click…
-
0
votes1
answer231
viewsCrud Ajax Laravel 5.*
I have a little problem. I’m doing a crud with Ajax + Laravel. "Everything" is working, more than when I update a data, it also registers. Well see how I’m doing. I have a Bhutan that I have an id…
-
0
votes1
answer186
viewsScan json object with $.each jquery
I am making a request to my Servlet and taking the json data according to the code below: $(document).ready(function(){ $.post("MesaController",function(response){ $.each(response,function(i,v){…
-
0
votes1
answer401
viewsClear field file when you no longer have images
I have the following stylized field that uploads multiple images: As a result, it shows as follows: So far so good, but I would like to delete all images, also clear the field file. See the code…
jqueryasked 7 years, 5 months ago user24136 -
0
votes1
answer26
viewsAurelia bindable and jQuery plugins
I have a problem with bindable variables and jQuery plugins that manipulate input value. I tested the following code and found that Aurelia does not listen to the changes of values made by $.fn.val:…
jqueryasked 7 years, 5 months ago KaduAmaral 11,472 -
0
votes1
answer352
viewsFirebase with Javascript - Get the Child title from the database
Good people, I need to capture with javascript the name of Childs 10th of 2017 and 11de2017 from the following image database: Initially I tried as follows: var datasWO =…
-
0
votes2
answers179
viewsJquery taking the <i> parent
Good people, I need to get the ID of the clicked one. My HTML is as follows: <table id="datatable"> <thead> <tr> <th>Nome</th> <th>Data de Nascimento</th>…
-
0
votes1
answer267
viewsSum subtotal with jquery
Good afternoon, Access this site: conepa.agenciaweblab.com.br/inscriptions Guys, I’m having a little problem with my stroller system, I am able to multiply the value with the amount of each loop,…