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
answer793
viewsSet value inputmask jquery
I am building a small system in jquery and in the editing part where I need to inform a value programmatically to the field Jquery Inputmask is not correct. Below is the example of my code and what…
-
0
votes0
answers47
viewsgetJSON function shows no information on the screen
Good evening Guys, I really need some help. I’m dynamically setting up a table that lists an X number of calls. For this I am using AJAX to query the database and display on the page. So far so…
-
0
votes1
answer33
viewsSearch field value does not arrive in jquery
I have a form where you have an internal search and a pagination in Jquery and PHP. The end result is this: Paging is working correctly, but when I type the user name, the value arrives null in…
jqueryasked 6 years, 4 months ago user24136 -
0
votes1
answer1389
viewsJavascript validation with jQuery Mask
I am developing an area where the student will register in it, so I decided to seek help from libraries like jQuery, I got a good result before that, but there are some errors in my script that I…
-
0
votes1
answer344
viewsSort months by Name Jquery Datatables
Guys, I have the following columns in my table, and one of them is the "Month" it gets an int that refers to the number of the month (1 - Jan, 2 - Feb, etc.) When the screen loads the table displays…
jqueryasked 6 years, 4 months ago Dan Oliveira 87 -
0
votes1
answer90
viewsHow to mark a specific Checkboxlist item with jquery
I have seen several examples of how to mark and unmark all, but I have not seen how to mark a specific, see: <asp:CheckBoxList ID="ChkAcoesListarGrupo" runat="server" RepeatDirection="Horizontal"…
-
0
votes1
answer92
viewsPick up the Combobox value automatically with Jquery via POST
I don’t know if I made myself clear in the title, but whoever’s old-fashioned might remember that Dreamweaver had a jump function that was used a lot in combobox. How would I make this option with…
-
0
votes1
answer57
viewsError sending form by pressing Enter - PHP
good evening. I’m having a problem submitting a form, typing Enter returns the error: php’s "Undefined Index". However, if I click the Login button, it normally submits. < script type =…
-
0
votes2
answers263
viewsForm Validation - Step by Step (Javascript)
I am making a form based on this template: https://colorlib.com/etc/bwiz/colorlib-wizard-22/index.html But I need the validation to be done for the fields! You cannot go to the next STEP until this…
-
0
votes2
answers453
viewsCreating HTML with Jquery and Json
I want to take JSON’s exit from the page select.php and place each line in a <div id="estabelecimento"> with your attributes, I’m doing it this way: $.getJSON('select.php', function(data) {…
-
0
votes1
answer28
viewsA loading appears while names are not listed in the Jquery autocomplete search
I am using in my internal search Jquery where when typing the first letter, appears the name of the users referring to typed letter. So far it works correctly, the problem is that the query I’m…
jqueryasked 6 years, 3 months ago user24136 -
0
votes1
answer131
viewsAutomatically generate date sequence within input
How can I generate a sequence of dates and place each date inside inputs( INPUTS ALREADY EXIST INSIDE A FORM) from the initial and final date automatically? I place the initial and final date and…
-
0
votes1
answer351
viewsBrowse existing classes in a form and remove
I am creating a form with validation using the plugin jQuery Validation, the form already has a structure ready, and so I needed, to make sure that the successful error classes were added together…
-
0
votes2
answers95
viewsValidate fields within separate Ivs in a single form
Within a single form I have 3 divs, that change as the user clicks on próximo. But for the user to be able to click próximo the mandatory fields of div which is currently being shown must be filled.…
-
0
votes1
answer429
viewsTypescript error import * as Popper from "Popper.js";
I have an error in the terminal, I already installed @types/bootstrap @types/jquery and asked to install @types/Popper.js I did it but it is returning me this error:…
-
0
votes1
answer115
viewsHelp in subtraction calculation with jquery
I have the following field: The goal is as it is including the adult, it adds up the values and when remove field, it subtracts. Taking into account that the package is 150.00 and each adult is…
jqueryasked 6 years, 3 months ago user24136 -
0
votes1
answer319
viewsIonic 3 Property 'value' does not exist on type 'Htmlelement'
I’m developing my first App using Ionic 3, and since I don’t have much experience in Typescript, I added jQuery to the project to perform functions such as enabling and disabling a textarea, or…
-
0
votes0
answers69
viewsHow to call the recursive function by passing this
I am having problems locking the browser in executing the code below. The problem occurs when I call the function: montarMenu.call(this);, recursively, inside itself. var SISTEMA= SISTEMA|| {};…
-
0
votes1
answer223
viewsInsert object data by API into Database
I receive an object with the front data, and in the api ta so the middleware: let no = require('../controllers/InsertNo') let insertNo = (req, res, next) => { dados = [] dados = req.body || ''…
-
0
votes2
answers320
viewsHow you use the keyup in a specific input
I have made a javascript to verify passwords (forte/normal/fra ca) the problem is that using the keyup in javascript every time a input receives value the password level is changed, need to make the…
-
0
votes1
answer582
viewsError returning a query’s value with php and ajax (Request failed: parsererror)
I am trying to return the result of a query via ajax with php and jquery, but it is not working, I get a parser error message and am unable to identify the problem. FUNCAO JS function buscaCliente()…
-
0
votes2
answers461
viewsDisable button while request is performed
I have a screen to add members and when the member is added the user already views in a table below (AJAX). When users are clicking on the add button the request may take, depending on "N" factors,…
-
0
votes1
answer325
viewsHow to make modal appear only once according to check?
I would like to achieve the following: When loading the home page, display the modal box Inside the modal box, display a form with a single mandatory checkbox When checking the checkbox, click send…
-
0
votes2
answers655
viewsLabel with input range value
Good afternoon. I’m using the BOOTSTRAP 4 specifically an input range like this: <div class='col slider'> <label for="customRange3"><strong>BRIGHTNESS</strong><span…
-
0
votes1
answer131
viewsCreate tag select by checking Jquery Checkbox
I don’t know if what I’m thinking is viable. I have a form that dynamically creates several checkboxes with the dates of the month. However, I need when the user checks one of these dates to create…
-
0
votes0
answers25
viewsUpdate jquery plugin trigger when updating image via DOM
I made a gallery in HTML5 and CSS3 and inserted a plugin Jquery "Lightgallery" to open the images in larger size as lightbox, there is a large image and several thumbnails, when I click on a…
-
0
votes1
answer149
viewsCall a Section tag without displaying the ID in the URL
I wonder if there’s a way I could call one id of a Section HTML without displaying for example in the URL a #id, follows a print below to help in understanding I’d like to call the tag Section Sobre…
-
0
votes1
answer241
viewsAddclass and Removeclass do not perform as expected
I have a select that when changing to a certain value you should remove the class col-md-9 and add the class col-md-4 to fit a new field on the screen. He should stand as the example. But when I…
-
0
votes2
answers147
viewsGet modal element value attribute
Hello, Watching objeto_receita I get the following data: After receiving this data, I assign its value to the respective fields. Basically using the function below: function objeto_form() {…
-
0
votes1
answer153
viewsProblem when displaying div by clicking radio button and other div
I have a problem and I would like the help of friends: On an item choice page I would like to make appear a div that is occult when I select the radio button option. It works ok by clicking directly…
-
0
votes2
answers232
viewsemail validation and password being equal and with minimum character
hello, I’m starting in the world of jquery and I’m working with djando and python and the form has the jquery below <script> $('#validator').prop('disabled' , true); $('#senha2').on('keyup',…
-
0
votes2
answers53
viewsdisplay block is not working on jQuery
I got the following jQuery script: $.ajax({ url: "_scripts/_php/_validacoes/cadastrarCelulaMembro.php", type: "POST", dataType: "json", data: { idPastor : $("#idPastor").val(), idRede :…
-
0
votes1
answer100
viewsPopular checkbox with jQuery
I need to popular the input with data coming from jQuery. I got the following input: <label> <input type="checkbox" id="turmas"/> </label> In the jQuery I have the following code:…
-
0
votes1
answer32
viewspopulating div with $.ajax, Error
I got the following HTML: <label class="labelPequeno" for="idPastor">Pastor</label> : <select name="idPastor" id="idPastor" class="inputTextMedio required"> <option value=""…
jqueryasked 6 years, 3 months ago Carlos Rocha 1 -
0
votes1
answer161
viewsRemove Multidimensional javascript array duplicity
I don’t know how to do not include duplicates, or remove duplicates after added, can help me please? Obs: I checked other codes I found on stakoverflow and other sites, but they didn’t work for me.…
-
0
votes1
answer26
viewsclear posthumous fields
jQuery: // JavaScript Document $(document).ready(function (e) { $("#idPastor").on("change", function () { $.ajax({ url: "_scripts/_php/_validacoes/buscarDadosRedes.php", type: "POST", dataType:…
jqueryasked 6 years, 3 months ago Carlos Rocha 1 -
0
votes1
answer51
viewsData Preloaded with JQUERY in A MODAL
I have a Dynamic table, I use TWIG to fill the data automatically, in this table I have in each Row 2 buttons, one of Edit, and the Delete Other, when I click the Edit Open button A modal, i would…
-
0
votes3
answers77
viewsColor change with jQuery
I need you to change the color of the titles of a nav, putting ID in each of the titles I can do. Is there any way to make this exchange without putting ID in all titles, taking class or something…
jqueryasked 6 years, 2 months ago Roney Berti 71 -
0
votes1
answer1727
viewsAdd dynamic id with Javascript
Appeared the need for me to create a view I need to add inputs through a button, where the user will enter the name of the field he wants to add, this name will appear in a label on top of the…
-
0
votes1
answer59
viewsError updating values fields with jquery;
I am having trouble updating the net value field of my page. I have the following fields in my HTML: <input type="number" id="total" value="<?=$faturamento['valor_total'];?>" readonly…
-
0
votes0
answers29
viewson Change does not starta after Trigger();
I have the following code: <script type="text/javascript" src="_scripts/_js/jquery-2.1.4.min.js"></script> <input type='hidden' id='idSetor' name='idSetor' value=1/> <script>…
jqueryasked 6 years, 2 months ago Carlos Rocha 1 -
0
votes0
answers27
viewsBecause when I use AJAX the function doesn’t work?
JS $(document).ready(function(){ LoadMods(); $(".mod").click(function(){ var id = $(this).data("id"); alert("Entrou"); $.ajax({ url: '../crud/load_mods_info.php?id='+id, type: 'post', dataType:…
-
0
votes2
answers746
viewsCompare value of two fields with jquery
I have a problem comparing values of two fields input. I want an action to happen if the value being inserted is less than the value of the input occult. Imagine that the value of the previous one…
-
0
votes1
answer310
viewsTaking ownership of an object with jquery and changing its style with css
Problem: I mount a news modal with properties of an object, however, in the title property of the object I need to pass the number of views dynamically, and need to change the source of the number…
-
0
votes1
answer52
viewsOnclick does not work after div receive content from another div
<script> $( document ).ready( function ( e ) { $( "#idRegiao" ).on( "change", function () { if ( $( "#idRegiao" ).val() != "" ) { $.ajax( { url: "_scripts/_php/_contagens/contaAreas.php",…
jqueryasked 6 years, 2 months ago Carlos Rocha 1 -
0
votes1
answer343
viewsPage and data redirection with Ajax
Test scenario I have a page from login.php, that checks the user and password with ajax, sending the data via post to the file valida.php. The valida.php, when the authentication works, should…
-
0
votes1
answer471
viewsCalculate and sum values in jQuery
I have the following loop: <?php foreach($order_details as $v_order): ?> <?php $others_price = $v_order->others_price; ?> <?php $adicional = ($v_order->others_price *…
-
0
votes0
answers41
viewsI have updated the version of Laravel 5.2 to 5.6 and I am having problems with the requests via ajax that receives a return Sponse()->json
I have a system running normally in Laravel 5.2, but I need resources that only have the most current versions of the framework. With this I updated it to version 5.6 and I am having problems with…
-
0
votes1
answer39
viewsHow to distribute elements in class hierarchy by dividing by aligned element?
Imagine you have a parent element with children where the class represents a text selection: <span class="item-1" data-id="1">texto selecionado 1 <span class="item-2" data-id="2">texto…
-
0
votes0
answers48
viewsI’m not able to change the value that is inside my tags with the append and prepend function
I’m leaving the title and dynamic body, changing only the name of the country, but it’s only working once. I am trying to get the name of the country that is in the combobox that I selected, and add…