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
answer134
viewsRepeat jquery action in a class (html)
I saw a toggle show/Hide (click event) function in w3schools and I would like to use it for different classes, but I don’t want to keep repeating the function for each class. In the example below, I…
-
0
votes0
answers62
viewsAutocomplete materialize by closing
Friends someone knows how to solve the following problem, the materialize autocomplete, does not show when completing the lenght, but when clicking again on the input it opens and closes quickly…
-
0
votes2
answers51
viewsStart script after a preset time
I have a little problem here, I hope someone can help me. I have two elements: h1 and h2, I made a script for typing effect for both, only I want the typing effect of h2 is started only when the h1…
-
0
votes0
answers60
viewshow to update a graph by using the $.load() method
I have a graph that is created from the id div "#Chart", the problem is that I have a modal that registers more information on the graph and when clicking "back" I want to update it with this new…
-
0
votes2
answers201
viewsFull screen image using Materialize’s Parallax
I’m starting with Materialize, and I’m having a doubt. How to leave the background image of parallax? Currently, the function image is in the middle of the screen. CSS <style>…
-
0
votes0
answers111
viewsModal with Steps with Jquery
I’m trying to create a modal with steps... Below is the modal and script code in Jquery. <div class="modal fade" tabindex="-1" role="dialog" id="category-modal" data-backdrop="static"> <div…
-
0
votes1
answer59
viewsCreate address bar from a string
How can I make javascript to create an html address bar from a string? example: string: "D://Media/Musicas/" how I want it to stay <div class="address_bar"> <label> <button…
-
0
votes0
answers54
viewsAjax - after calling him my functions are not working
Hi guys this is my first question so come on. I am developing a page for android where it counts with only js, html and jquery, I made a back that searches for information in the database from a way…
-
0
votes1
answer22
viewsAutocomplete does not display php form data
I’m having a problem with a site where the autocomplete that searches the database data is not returning the value of the php page where the GET upload. When I go to the console it shows error in…
-
0
votes2
answers1067
viewsHow to change the . html page automatically from a predetermined time?
I have a system for content display and I need that from a predetermined time my page .html change to another content (another page) automatically. NOTE: The device to display the site will not…
-
0
votes1
answer118
viewsreturn to a specific Nav tab
I have a controller, which after saved, it needs to be given to a specific tab, so I use as a retainer the following parameters. return Redirect(Url.Action("Editar/" + resultado.Id,…
-
0
votes0
answers106
viewsHow to integrate jquery-ui with React?
I am doubtful... I would like to integrate the jquery-ui with React... I am creating a calculator and do not know how to make it move on the screen. I’m trying to collaborate with free software and…
-
0
votes0
answers100
viewsHow to create a Download while the page is not all processed after the return of AJAX?
Hello. I have a code that queries the database (when loading the page) to fill a table (This is done via AJAX). I created a div that contains a gif from a Download and it displays as AJAX fills the…
-
0
votes1
answer351
viewsChange in checkbox is not working
Good afternoon. Problem solved: I really thought it was strange that it worked out here and I came to the conclusion that it might be the fact that the checkbox(s) dynamically generated. And that’s…
-
0
votes1
answer86
viewsClear previous request and perform new only with the last element with jQuery
I’m having a question in jQuery that I developed, I’m populating the data in style "combobox" and the requests and answers are correct however, my problem is when I click again on my…
-
0
votes1
answer29
viewstable returning null
when I try to get the values that are in the table with the following code: document.getElementById("#tbl-info"); and is returned null html: <table id = "tbl-info" class = "table table-bordered"…
-
0
votes1
answer36
viewsMake Alert after Hide() of a loading
I’m starting some studies with Jquery, and I’m having a problem. I am making a login page and I made a loading. This loading only appears later when Submit is made, that is to say...…
-
0
votes0
answers47
viewsCapture PDF Scroll inside an embed
Opa, I have to manipulate the scroll of a PDF document within an EMBED tag. It would be as follows, when opening the document, the ACCEPT button would be disabled and only when the user, scrolls the…
-
0
votes1
answer65
viewsConvert jquery object to html DOM
I have the following code: var valuePlan = variavel > 0 ? $('<a>').attr({ target: '_blank', href: 'file.php' }).append( m.plan ) : '' In the code above, I check if the variable is greater…
-
0
votes1
answer73
viewsLoad Json data via Ajax
Guys, how do I load the json data into a table in html? The table is mounted, the script I’m pretty sure is right, to print the data in the table, but I think there’s something missing, sap, maybe a…
-
0
votes1
answer181
viewsAdd rows to a table with Jquery and add a new ID
I am using the solution I saw in this topic to insert new fields to a table Add Line However I need each inserted row to come with an ID, because I will have to take some data from the database and…
jqueryasked 5 years, 11 months ago Marcos Paulo 649 -
0
votes1
answer49
viewsInput error inside Div
I have a table and I’m making a filter worked, but when I put the input inside the div to align can not filter, even takes 1 letter but does not filter more. <script type="text/javascript">…
-
0
votes0
answers51
viewsIs there any way I can redirect this script to a thank you page and then to Whats?
Hello, I’m new in javascript, I’m using a site called Whatshelp to generate me a Whats boot, I would need that when the person clicked on the Whats button it redirected to a thank you page and then…
-
0
votes0
answers26
viewsCommands . on and . live do not work for new elements
I have a form where I can generate new elements like. Let’s say I have the following. var i = 0; $('ul[class^="inpt_"] li button[name="mais"]').on('click', function() { /* Encontra o maior valor */…
-
0
votes1
answer87
viewsCollapse Horizontal Menu with Jquery
I am making a horizontal menu, in which the submenu will be opened in Collapse by clicking on the parent link. However I am not able to make the submenu open with jquery by clicking on the parent…
-
0
votes0
answers82
viewsProblems to anchor with jquery
Hello, I’m making an application in angular 7, and I’m wanting to use anchors in the menus, as I found no way to do via typescript made through jquery but the anchorage does not work as expected,…
-
0
votes1
answer471
viewsSum Column HTML Table
how to perform the automatic sum of a specific column? I tried with the script below using Jquery, but without success. The total value in the column to be filled is in the last . (space is blank).…
-
0
votes2
answers202
viewsDisable click while Hide/show effect ends with jQuery
I have a menu with 3 buttons. Each button shows the respective DIV and hides the rest, with hide/show, for example. How do I prevent the button from being clicked again before the effect hide/show…
jqueryasked 5 years, 11 months ago Carlos Henrique 141 -
0
votes1
answer166
viewsChange FATHER div inside a Child frame
I’ll try to improve the doubt. I have a main.html page that looks like this: <html> <body> <div id='divPai'>Sou a div PAI!</div> <frame id='framePai'…
-
0
votes1
answer53
viewsHow to remove an input type select from serialize
Good morning Guys! Great Friday!! I’m having a doubt here I’m getting all the data from a form $.post("salvar_1.php", $("#form").serialize()) More need to remove a select with the name date,…
-
0
votes0
answers879
viewsHow to update table automatically with Jquery/Ajax/PHP
I would like to know how to automatically update the table with the Jquery load because I tried to put it in the main file and keep breaking the table, so I increased the setInterval time but still…
-
0
votes1
answer39
viewsEditable table with Jquery and PHP problem
Good afternoon, I’ve been having a problem for a few days trying and I can’t seem to fix it, I am trying to make an editable table, the problem is that after I copy the table with json I can’t do…
-
0
votes0
answers633
viewsShow modal with Typescript
Hello, I’m making a code in which I will need to open a modal Bootstrap in Typescript, but I’m not able to do it. Help me there please. I’ll leave an example for you to pick up here. function…
-
0
votes1
answer70
viewsReturn Websql query in a global variable?
I am not being able to return the values for Sql query Only within the function $(function () { var sincronizado = 'no'; db.transaction(function(tx) { tx.executeSql('SELECT * FROM quilometragem…
-
0
votes1
answer177
viewscreate Javascript function for multiple ids
$(document).ready(function() { $('div#bloqueioSelect').click(function() { if ($('div#bloqueioSelect ul').is(':visible')) { $('div#bloqueioSelect ul').css('display', 'none'); $('div#bloqueioSelect…
-
0
votes1
answer161
viewsHow to limit a div draggable from overtaking the corner of the screen?
Guys I have an app that has a div floating that the user can drag inside the screen, only with the draggable() jquery lets the user drag the div beyond the screen and many times it fails to bring it…
-
0
votes1
answer249
viewsError while consuming Swagger api from the transparence portal
Using this code to consume the api is giving an error in cross-Omain $('#seguro').click(function(){ cpf = $('#cpf').val(); endapitrans =…
-
0
votes1
answer164
viewsAnimations in the elements happen as soon as the page loads
Hello, in my project I have an animation in Javascript with the page scroll, which adds the Animate class, so I approach the element, but only some elements of the page are working perfectly, other…
-
0
votes1
answer326
viewsInsert text to a textarea without modifying text that already exists with input
Personal how to insert a text to this Textarea without Modifying the value that is already inside it when filling in the inputs? I have a preview https://jsfiddle.net/orpwmc5b/3 when I type in…
-
0
votes1
answer164
viewsCount characters from a summernote class textarea. It does not count CSS characters, for example <b>
I have a character counter that works well for text without special conditions, for example a text without bold none works very well, however ,if I put bold in the text, the counter does not…
-
0
votes1
answer362
viewsJquery autocomplete inside modal
Hello I have a problem using jquery in a modal, out of modal the script works correctly but if I put the input inside the modal it does not work. <!DOCTYPE html> <html> <head>…
-
0
votes2
answers66
viewsInsert a date into the database via jquery+php
I have a datepicker like this <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <script…
-
0
votes2
answers976
viewsHow to get javascript/jquery ajax array values
I am making an ajax request and returning the data by php with json_encode server side: $id=1; if(isset($_POST['id'])){ $id = $_POST['id']; }else{ http_response_code(400); } $produto =…
-
0
votes1
answer119
viewsHow to insert data into an array position
I have a function salvar that creates an array and sends the data via post to the BD, but before sending the data I need to insert data into two positions of the array. I’ve tried with array_fill…
-
0
votes1
answer150
viewsHow to add an array with dynamic values in an object with dynamic properties?
How best to create and populate an array dynamically and insert it into a dynamic property of an object? We can use the following scenario: $(function() { const products = {}; const items =…
-
0
votes1
answer51
viewsCreating several Snippets
Good afternoon. I looked here (/search?q=%5Batom%5D+Snippets), but I couldn’t get help, so I decided to read this post. I currently use phpStorm, but it is very heavy, so I will start testing the…
-
0
votes0
answers36
viewsjQuery cannot find elements added via append
I have the following request that lists the students in a table: jQuery('#presencaExibir').click(function(e){ e.preventDefault(); $.ajaxSetup({ headers: { 'X-CSRF-TOKEN':…
-
0
votes2
answers112
viewsHow to update number of users online with PHP + jQuery
I have a file called processa_vis.php where brings the result of all ID with online status, until then all right and usually displays users online on the screen where I call the function. However I…
-
0
votes4
answers1357
viewsassociate a checkbox to a script function
Hello I’m trying to make a function for when my checkbox is active activate the function in the script and when it’s not back to normal, I think the script is good, but I just don’t know where to…
-
0
votes1
answer63
viewsStatus with jquery
I have html with the following Divs: <div class="tag" id="div-statusActive" data-status="statusActive"> <div class="tag__title tag__title--spaced"> <span data-bind="widgetLocaleText:…