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
answers377
viewsjquery datepicker is always visible
I’m trying to use jquery datepicker, but every time I create it it keeps popping up, as if it’s there statically. Example of what is happening, and not just appearing when I click.…
-
0
votes1
answer991
viewsCRUD with jQuery, PHP and SQL Server: table with total, subtotal and auto filter
Hello, Community! I have tested some jQuery plugins to generate table that support CRUD. Here’s my review of them. jQuery jTable Excellent plugin, but has annoying limitations like horizontal…
-
0
votes2
answers287
viewsHow to write data without Jquery mask using Cakephp3
I have a system in Cakephp 3.4.5 and am using jquery to apply a mask to the cep, Cpf, cnpj and etc. How do I save the data without the mask? I call Jquery in my default.ctp which is in my layout…
-
0
votes1
answer177
viewsChanging date-attribute value does not work with Jquery
Follows code: JS: $("#id_notification_count").data("count", 10); Html: <a class="dropdown-toggle"> <i id="id_notification_count" data-count="3" class="glyphicon glyphicon-bell…
-
0
votes1
answer294
viewsOnclick generate a new element every click, instead of resetting the first
I’m finishing creating a WYSIWYG, but I have a problem with the text box. When clicking on the icon referring to the text box, a onClick which creates the text box, which is created with a div…
-
0
votes0
answers131
viewsSimple Lens Jquery does not work on IE and Edge
I’m using simpleLens but the same is not working on IE and Edge. Zoom does not appear and images do not change when passing the mouse. I’ve tried to change several parts but it doesn’t work.…
javascript jquery internet-explorer zoom microsoft-edgeasked 7 years, 4 months ago Rodrigo B. Silva 173 -
0
votes3
answers4799
viewsHow to remove clasps in a regex?
I’m using a regex to remove some characters, but as one of them is [ brackets] and I’m having problems with regex replace(/[.!'@,><|://\\;&*()_+=]/g, "");. How would it be to remove that…
-
0
votes3
answers1188
viewsHow to pick a specific element between several of the same class via jquery?
Guys, this is probably something extremely simple but I’m struggling to solve: Assuming a code word <input type = "text" class = "campos" value = "texto1"> <input type = "text" class =…
-
0
votes0
answers56
views"Use Strict" - Waypoints
When making the code in jQuery for a website I came across the error "use strict". This error happens more exactly on line 2 "Missing 'use strict'" not letting it run. Needed help in solving it if…
-
0
votes1
answer66
viewsDownload site without refresh?
I’m looking to develop a website without page reload but changes the page url so that search robots like google can find the pages of my site more easily than with ajax. As for example this: Ondasul…
-
0
votes1
answer98
viewsDisable one button at a time jquery
Gentlemen, I have a question in this part of my code: I need to send a request and then disable the Ubmit button. The Jquery code that does this is already working, but when I use it for the second…
jqueryasked 8 years, 9 months ago Raphael Cortes 39 -
0
votes3
answers825
views -
0
votes3
answers605
viewsCalling the same function twice
I am testing a function that opens pop-up for certain link, and would like to call it to 2 links then basically your call is like this: jsPopunder(URL); I tried to create an array with the Urls and…
-
0
votes1
answer383
viewsDatepicker With Highlight Dates
I am working with a calendar of events and I would like the calendar to show me in different color the days that have events. Use the datepicker.…
-
0
votes1
answer50
viewsProblem with Masked Fields
Hello, I’m using the plugin masked input to mask some fields of the kind decimal! However, when I submit the form this field arrives as null in the class controller. I’ve searched and I can’t find…
-
0
votes1
answer902
viewsJquery window.open in "Success" in ajax is being blocked
I would like when saving an input and updating the div with the new information, in the return message "Success" ajax, to also print the div. Example success : function(response){…
-
0
votes0
answers137
viewsApplying style to the infowindow of the googlemaps marketer
I have the following method that applies a style to infowindow google.maps.event.addListener(infowindow, 'domready', function () { // Referência ao DIV que agrupa o fundo da infowindow var iwOuter =…
-
0
votes1
answer51
viewsHow to prefix value in input
I used Bootstrap to insert spam written http://right at the beginning of the input. But I would like to know how to leave the input with this value by default, and then the user only fills the site…
-
0
votes1
answer71
viewsReal-time search saving server?
Hi, I created a script in jQuery searching the database, based on what the person typed in a field input. With each key the user type, the script makes a new requirement for my API and that’s a…
-
0
votes1
answer163
viewsFixed Scroll in DIV Jquery footer
Opa, I have a web chat application, it does checks every x seconds of new messages, need that at the end of these checks, which is via ajax, the scrool of Div #result automatically descend, I tried…
-
0
votes1
answer52
viewsCatch <a> tag click event when it hasn’t loaded yet in $(Document). ready MVC - RAZOR
I create dynamically in my View via Razor data that is populated in a table. On my last td I have the following elements: <td class="row-actions fixed-col"><a name="excFaturamento"><i…
-
0
votes3
answers9055
viewsHow to change the text of a button when submitting a form?
With the code below, the send form button should change text to "Loading..." when pressed, but this does not happen. Why? <!DOCTYPE html> <html lang="pt-BR"> <head> <meta…
-
0
votes2
answers4315
viewsModal ajax mail tracking
Is it possible to make a script that pulls the tracking of some item on the post office page? For example, inside my website: https://meusite.com.br/requests. There’s the link in the case for…
-
0
votes1
answer18
viewsInsertion of dimanically created inputs
I’m creating fields dynamically like this: $(document).ready(function(){ $('#quantidade').on('change', function(){ var quantidade = $('#quantidade').val(), campos = $('#campos'); campos.html('');…
-
0
votes1
answer89
viewsInclude variable in json output
if($_GET['operacao'] == 'banners'){ header('Content-Type: application/json; charset=utf-8'); $rs = $mysqli->query("SELECT foto AS image FROM banners"); $registros = mysqli_num_rows($rs); $arr =…
-
0
votes1
answer37
viewsError in jquery return
I’m using php + jquery return is a string of type [["local","pressão instantânea"],["Campo Grande",1010.6],["Campo Grande",1011.1],["Campo Grande",1010.2]] Being that in the return comes some…
-
0
votes3
answers1036
viewsproblem filling in form with uppercase letters
staff in my website the user when will register in my site the fields where he types text he can type with capital letters and this generates a BUG on my site there in the panel I would like to know…
-
0
votes1
answer466
viewsRedirect user by ending php session with Jquery
I’m trying to close a sessão php and redirect a user after password exchange to force new login on the return of an action, the redirect is taking place but I don’t know exactly how to end the…
-
0
votes3
answers5951
viewsAdd inputs with jquery and real time
I need a jquery script to do the following: TOTAL = Fine + Interest - Discount. calculating even if one of the 3 inputs is not completed. I found some examples on the internet, but everyone needs an…
-
0
votes1
answer216
viewshow to put the return of a json in a specific place of a table?
I have a fixed table with schedules from 08:00am to 19:00pm each has its line with its description(that would be the type of query) I receive a json on my page when selecting a date on my datepicker…
-
0
votes1
answer662
viewstag <video> does not work on android phones
I am developing a responsive site that has a video, when access this site on mobile the video is not displayed, if insert the video through the tag it works. Could someone help me?
-
0
votes1
answer42
viewsJquery simultaneous duplicate chat notifications
Hello, I have a chat system that gives notifications in any part of the site where it is or on the same page of Chatt, however when I am with 2 open tabs I receive notification in both, ie,…
-
0
votes0
answers96
viewsHow to make a div stay fixed with CSS Translate
I have a mobile menu that "pushes" content to the right when it’s opened. The problem is that the visitor can "drag" the content due to "Translate". I would like to make the content stay fixed.…
-
0
votes1
answer153
viewsExchange values from a div
I have a combo when the event occurs onchange it performs a query in the database with the selected value and inserts it into a div values, the problem is that when I apply…
-
0
votes1
answer21
viewsTaking data from php formats with cycles
I need to use some PHP cycle to get the form data on a processing page. I thought I’d put a count variable inside an input name ID box, like this: $c=1; while($c <= 5) { $tabela[$c]=…
-
0
votes1
answer837
viewsChange src of an image
How to replace src of an image being passed with a php function to get the image directory
-
0
votes1
answer808
viewsHow to go through all columns of a jquery table and hide if empty
I have a table html with 15 lines and I need to go through all the columns and check if there is any value, if Column is equal to empty then hidden this column, I know that this example below hides…
-
0
votes1
answer162
viewsHow to catch div’s son with contains
In that case I want to test the div with class name, but after testing I want the CSS changes to be made in div with class teste. <div class="teste"> <div class="name">um…
-
0
votes1
answer67
viewsHow do I get information from the first three lines of a table?
I have a table with several loaded lines, but I need to take information from the first three lines and store it in a variable without using the function click.With this information stored in a…
jqueryasked 7 years, 3 months ago Littiele Oliveira 1 -
0
votes1
answer64
viewsChanging color of a div by clicking the first time and showing an alert by clicking the second time
I’m having trouble creating a code that is simple, I need to click on a div she changes color and when clicking a second time she opens a alert stating the name of the color. Can be in jQuery or js…
-
0
votes1
answer331
viewsRepeat Jquery . Animate() after clicking the button
I have the following code: $(document).ready(function(){ $('#cadastre-se').click(function(){ $('.icon-cracha').stop(true, true).delay(500).animate({top: "+0"},1000); }); }); .icon-cracha{…
-
0
votes0
answers694
viewsCheckbox that selects all others
How can I create a checkbox that selects all others from my page? I’m using a while loop in php to list the records, and each one has its checkbox next to it. I would like to have a checkbox on the…
-
0
votes1
answer77
viewsScrollbar bug in select nice plugin
Well I am customizing the plugin select nice, but I’m having a bug where the page scroll bar gets huge, being that the select is closed. Coo make it appear only when select is opened? (function($) {…
-
0
votes2
answers161
viewsIncrease width in % and not in px
How do I increase the widht with %? You put this code that I did, it increases, but it’s in px, and I wanted it to increase in percentage. var progressBar = $(".progress-bar");…
-
0
votes2
answers409
viewsdynamic value inheritance of a child input (unordered list)
Hello, I need some idea of how to create a dynamic heritage of parent input values for children and grandchildren. Once the user enters the value in an input automatically it needs to be changed in…
-
0
votes1
answer99
viewsIntel XDK $.getJSON does not return php value
I’m making a query in mysql using the $.getJSON, but I’m not getting back the value. test page: <!doctype html> <html> <head> <meta charset="utf-8">…
-
0
votes1
answer94
viewsVideo loses size inside div with use of Resolution slider
I’m using Revolution Slider and when transitioning videos through Carousel, the video loses the default size I determined for my display page, that is, I determine the width:auto and height:768px,…
-
0
votes0
answers559
viewsHow to generate/send (Server-Side) JSON via Java and receive via Jquery (Client-Side)?
I’m having trouble exchanging information between my web application (client) and my application java on the server side. I am trying to query the server via JQuery and hoping to receive as a return…
-
0
votes1
answer436
viewsJquery stops working after running the load command
I’m using the remote $("#teste").load(location.href+" #teste>*",{id : idd}); The command updates the data div group and send a parâmetro for the same. The div, has class, commands jquery that…
-
0
votes4
answers211
viewsjQuery Hover does not work
I have a <button> on the page that after an action receives a new class, in this new class I need the text to be changed in the Hover, but it doesn’t work, the new class seems not to be…