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
answer423
viewsHow to run an event in Codebehind being called by jQuery?
I have this code in Aspx: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="WebSite.View.Index" %> <!DOCTYPE html> <html…
-
0
votes2
answers77
viewsSend data via the form without refresh
Good evening, I have a comment script, and I wanted when the user sent the comment, it remained on the same page as it is, without upgrading to the php page. At the moment when it sends the question…
-
0
votes1
answer39
viewsAdd comma values if the key is equal
How to format an array like this... [ {name: "city", value: "sao-paulo-sp"}, {name: "types-properties", value: "apartamento"}, {name: "types-properties", value: "casa"} ] to arrive at this result. […
-
0
votes1
answer356
viewsHow to load a value into a DIV after selecting an option in the dropdownlist of an input text that uses Typeahead and Ajax?
Hello! I am developing a project where I am using the plugin Bootstrap Twitter-Typeahead where I load values inside an input text. The page I am developing has 2 fields: 1. An input text field whose…
-
0
votes1
answer52
viewsTransfer value from one input to another
I have a field for general search and other segmented search fields (Pending, Current, Closed), I want everything typed in general to be automatically passed to the segmented ones. I created this…
-
0
votes1
answer95
viewsLoad related values in input text field correctly using Typeahead.js
I’m using the plugin Typeahead.js in my project and would like to modify my script so that it can fill the input text field correctly after a select box option is selected. As a reference I created…
-
0
votes1
answer68
viewsAlert keeps popping up no matter what I do!
I took the code of a shopping cart on the internet. And there is the cart page where the customer can increase or decrease the quantity of the product. The problem with this code is that each time…
-
0
votes2
answers63
viewsAllow only typing 123456 jquery
I am studying Jquery and I came across a logic activity, I need to allow the user to only type the 123456 keys in the input. html code: <h3>Teclado</h3> <span>Nome:</span>…
-
0
votes1
answer56
viewsFill Dropdownlist with Multiple Values
i am trying to fill a Dropdownlist that has multiple values, from my "Edit" action, where I recover the objects Toonmoves containing One or More Effects and how The Effects May belong to several…
-
0
votes1
answer31
viewsJquery Setinterval with incorrect speed when clicking
Well, I basically created a class to filter and read an atlas style spritesheet, it works, but when clicking to change the orientation of the Sprite or even reload the same Prite, the system…
-
0
votes1
answer54
viewsProblem comparing boleano value from javascript
I have a function validaSenha that I’m using that checks the amount of characters and returns true or false. In the action of the end button I execute a call in the function inside a if, but even…
-
0
votes2
answers123
viewsHow to simulate button click on jQuery?
I have a function that performs by clicking a button on jQuery. $('.btnEntrega').click(function (e) {= idPrograma = $(this).data('id'); CoresFormasPlacas($(this).data('placa'),…
-
0
votes1
answer564
views -
0
votes1
answer75
viewsRotate Element on Click
Well I am with 1 problem, I am using the accordion of jquery that when clicking on a list, it expands and shows all the information, associated to this "project". My problem and q I have an arrow to…
-
0
votes1
answer43
viewsJquery POST with pause in sending
Good morning. I need to do several POST using Jquery, but they need to be sent one by one, paused. Example: All survey data would be sent, then all environment data and so on. Problem As the server…
-
0
votes1
answer50
viewsDifferent audio on each slide of the bootstrap carousel
I’m developing an application with bootstrap and I’m using its carousel, but this carousel has text and will have different audio on each slide, but I don’t want to click on each indicator and…
-
0
votes1
answer39
viewsError hiding field with Jquery
I have an html code and I would like to hide a field when selecting the "Graph" option (when the field is visible I need it to be configured "required autofocus") and tried with jquery, however,…
-
0
votes0
answers83
viewsUsing new Class() or instead of new Namespace Class() in PHP autoload
I’m facing a problem to handle my classes with the composer autoload. All calls are made through Jquery, then it calls a PHP document that should assemble the class page and call the function I…
-
0
votes1
answer72
viewsSend fullcalendar event data to modal window
I have a fullcalendar with the following events: events: [ { id: 1, title: 'Evento 01', start: '2020-02-06' }, { id: 2, title: 'Evento 02', start: '2020-02-19' }, { id: 3, title: 'Evento 03', start:…
-
0
votes1
answer41
viewsRequest ajax forwards call to controller
Talk to me, people. I have a problem with item registration, when you list a series of items and I click add opens a new modal with the characteristics of the item that will be added. However when I…
-
0
votes1
answer44
viewsI cannot show database data with ajax,php and jquery
I need you to click on checkbox, he makes a database query and returns it to me inside a div. But I can pull the data with ajax and show in div directly(home_.php is showing the select I did), but…
-
0
votes1
answer226
viewsHow to make a single request with ajax and jquery?
I have more than 50 checkbox,when I click on it, it checked the state with jquery step pro ajax bring the data from the page "home.php", but the way it is like this, I have to duplicate the code and…
-
0
votes0
answers136
viewsPUT AJAX api Climatempo returning CORS error
Hello, I’m having problems performing a PUT in AJAX with the weather api, my code is this : var URL = 'http://apiadvisor.climatempo.com.br/api-manager/user-token/TOKEN/locales'; $.ajax({ url: URL,…
-
0
votes1
answer63
views.val() does not work on the textarea tag
I’m taking a data that is in an attribute of my select-option (date-observation), so far so good, however when I try to pass this value to my textarea the value is not printed, just on the console,…
-
0
votes1
answer101
viewsHow to set the change state of a checkbox switchery using Javascript and Asp.Net Core MVC
I have several checkbox switchery components that are automatically created in which I control the ID manually, in theory, a list of elements. I need to do the following: When unchecking one of the…
-
0
votes1
answer2746
viewsJquery - Add HTML attribute to a specific element
I am trying to access a specific input through your ID to add an attribute. I want to add pattern="[0-9]*" inputmode="numeric" <label class="prefixo"><input type="number" class="fitext…
-
0
votes1
answer23
viewsAngularjs + Requirejs + Ngnestable
Talk guys, all right? So I’m working with Requirejs along with Angularjs, today I needed to work with an Ngnestable lib kamilkp/ng-nestable But when I try to load the directive into my app as…
-
0
votes1
answer390
viewsHow to overpower the father div by getting behind the daughter div
I’m using the jQuery.Gantt in a project and need to do several customizations. One of the customizations is to hover the mouse over an element (in blue) display a tooltip. The problem is that there…
-
0
votes0
answers34
viewsDelete tr and tr Jquery children
I have a code in which I am trying to delete a contact and at the same time delete Other Email and Other Phone associated with it. However, now when I delete the contact Other Email and Other Phone…
-
0
votes3
answers99
viewsList with Jquery, second JSON index
Good evening friends, I have the following json which is originated from a url, the result is exactly this: { "cod": "OS78946", "serv": "Pré pago", "passo": "7894", "ocorridos": [ { "data":…
-
0
votes2
answers61
viewsJavascript function to return 3 separate values
In the code visualize.php i do select no BD and I award a Table with the result of select and store in a variable $outworking. This variable is read by Javascript and written to . I would like to…
-
0
votes1
answer249
viewsHelp with VBA and web to populate web form fields with cell data and trigger report output button
I have the code below that accesses the site, log in it, enter the management menu. In the managerial menu screen I have form fields where I insert initial, end date, turn and the generate reports…
-
0
votes1
answer70
viewsModal Bootstrap - php | Jquery | Hidden
Good night, you guys. Could someone ask me a question... I have User’s birthday data that comes from the database, made a if to compare if the current date is equal to the day of the logged-in…
-
0
votes1
answer50
viewsAvoid many requests in Select
I would like to know some alternative to block excess requests with Select combo box from the following code: //Input Cascata Estado / Cidade $("select[name='estado_id']").change(function(){ var…
-
0
votes1
answer236
viewsRun mouseover function on Avascript only once
I have a function that does some actions inside my html, the main is, this function does a request with ajax and returns me a list that is included directly in select. need q she make request only…
-
0
votes0
answers51
viewsValue collection via PHP and Json
I have a select where the data is in a JSON database that are available in the link: https://gist.github.com/letanure/3012978.js The select option works normally , that is, the data appears in the…
-
0
votes1
answer56
viewsRetrieve checkbox serializeArray value
I have a form with several Hecklist. Clicking the array is saved in the textarea. Question Assuming the data is already saved in the BD, when the person is editing, how to load the checkbox that has…
-
0
votes1
answer261
viewsAdd click event on all buttons with pure Javascript, which is equivalent to jQuery
function Listar(){ var tbl = document.querySelector("#tblListar"); tbl.innerHTML = "<thead>"+ " <tr>"+ " <th>Código</th>"+ " <th>Nome</th>"+ "…
-
0
votes1
answer58
viewsIdentify the selected INPUT array key
In an HTML form I created a field input[type='text'] with the attribute name='input[][nome]' and this field is created in the DOM dynamically on demand of the user, if the user create 3 new inputs…
-
0
votes1
answer186
viewsEnable input when arriving at selected checkbox amount
Guys I got this input: <input type="submit" id="cadastrar" value="Cadastrar" disabled> I have a grid that is filled and each line has one checkbox: <td> <input type="checkbox"…
-
0
votes1
answer126
viewsHow to update Input using Modal Confirm Multiple Times
I need to confirm some fields separately. It happens that it overwrites the text, does not wait for confirmation and only appears at the end of the last call and the confirmation of this, replicates…
-
0
votes1
answer19
viewsDelete an entire class and everything in it from an HTML loaded via ajax
I have two pages in HTML: index.html: <div class="topo"> topo </div> <div id="viewdata"> <div class="conteudo"> Essa é a home </div> </div> html news. <div…
-
0
votes1
answer26
viewsLoad image url - Jquery
I have the following code you click on input that has the image URL: <input name="miniatura" value="<?php echo $miniatura;?>" class="miniatura"> <img id="miniatura_exibe" />…
-
0
votes2
answers492
viewsHow do I format the text typed in the input without changing the value?
Guys, I have a problem with this piece of code that I can’t solve in any way. In this case, the first two inputs receive values that are summed and this sum appears in the last input with the id…
-
0
votes3
answers179
viewsCreate another input field with the enter key
I am working on an HTML form to receive the data from a bar code reader. Next: each time the reader loads the input value of the barcode it automatically gives a enter which is Event.keycode= 13…
-
0
votes1
answer84
viewsModal loses focus when closing another modal
Good morning, guys. I have a situation here that I can’t seem to resolve. is as follows: I have a Botstrap 4 Modal window. From this Modal window I press a button and open a second Modal Search…
-
0
votes1
answer127
viewsJquery event . change running when loading the page?
I have a Jquery responsible for popular a select based on the value of another select, solved the issue successfully using the following code: $("#tipoProcedimento").change(function(){…
-
0
votes1
answer51
viewsjQuery how to send via onkeyup and continue with the selected input
I wanted to know how to send the message and the input continue selected so I can continue writing. My code is: $(document).on('onkeyup', '.input', function(e) { var message = $(this).val(''); if…
-
0
votes1
answer60
viewsHide/display elements with Jquery
I need it as soon as a div is clicked (.titulo), display another div that’s inside of her (.answer). I learned to do using the Jquery method classToggle, as soon as the div is clicked adds class…
-
0
votes0
answers55
viewsRun script on remote server when new entry is in Mysql
For security reasons, I have two servers. In one is hosted the site with the entire user interface and DB Mysql, and in another is hosted the application that will run the script from the user…