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
-
1
votes1
answer936
viewsUsing Jquery Validate in conjunction with Form Wizard
I’m putting together a step-by-step form. I did a test the Validate in the email field and, the verification of the email worked, however, Validate does not bar go to the next step, if the field is…
-
1
votes1
answer751
viewsDivision error by zero - Query SQL
I have the following query below, however, when I run it, the following message occurs: erro de divisão por zero. I tried to use the function nullif, but without success. How to solve? SELECT…
-
1
votes4
answers381
viewsremove text inside small without raising the "a" tag with jquery
I have the following code, and would like to remove only the text ' Configuration options:' without changing the "a" tag with jquery, can anyone help me? <small> Opções de configuração: <a…
jqueryasked 6 years, 11 months ago Raykard Aguiar 77 -
1
votes1
answer615
viewsHow to use bootstrap Collapse on this dynamic page?
I have this screen to insert images in the system, the part of the insertion works right, only I want that when clicking an image, appear the edit button as in the image, and if you click again on…
-
1
votes3
answers1618
viewsHow to group equal values with JSON
Using the following code build a select of options: $(document).ready(function () { var customersSource = { dataType: "json", dataFields: [{ name: 'Estado'},{ name: 'OrderID'}], url: 'customers.txt'…
-
1
votes0
answers26
viewsHow does the automatic indexing of a blog work?
I’m creating a news site, and I see sites like G1 and Tecmundo using an automatic indexing for their news, how does it work? Well, I’ll explain it better: I have a file that reads the news through a…
-
1
votes1
answer841
viewsSeparate a JSON array into columns and rows
I’m getting a JSON array in the back end this way : { "idDistrito": "23", "nome": "rere", "codigoDne": "154545", "cns": "565665", "entidade": { "idEntidade": "1", "nome": "Entidade 01" },…
-
1
votes1
answer108
viewsView|Brush a field when selecting data in Select
In this code appears the select with the Cities grouped in the way I want, but I would like to click on any of the 'store' options of the select to be opened in some table below the address of the…
-
1
votes1
answer290
viewsShow rss feed news one at a time with fade
I have the following php code to fetch the news feed from a particular site: <?php $rss = new DOMDocument(); $rss->load('http://feeds.jn.pt/JN-ULTIMAS'); $feed = array(); foreach…
-
1
votes1
answer2357
viewsHide and Show DIV based on SELECT response
I have the following code and would like when selecting any value within select "#Cities" to show the div ". dataLoja" and that it is hidden at first, already taking advantage of the question has…
-
1
votes1
answer29
viewsCorrect desktop input toUpperCase on mobile with duplicate error
The script below turns all characters uppercase into an input. <input type='text' name='meuInput'> <script> $("input").bind('keyup', function (e) { if (e.which >= 97 &&…
-
1
votes1
answer29
viewsjQuery selector does not find itself
I was assembling a feature that aimed to find others selects of equal value, when I came across this situation : jQuery('select[name="group2"]').val('emissao');…
-
1
votes1
answer265
viewsNumbers in Cpf (JS) format
I get numbers from a Cpf coming from the API, then it goes to a table that I made, only the numbers are not in Cpf xxx.xxx.xxx-xx format and I would like it to stay, but I don’t know how. Just click…
-
1
votes3
answers325
viewsMultiply line
Personal how can I multiply the total value of the lines being that I want to multiply value by value of each line var bloco1 = $("table tr").find("td").eq(0).val(); var bloco2 = $("table…
-
1
votes2
answers44
viewsI place a jquery and the site enters direct id
I have this script with css and jQuery of different color tabs, when I include the line: To leave the first tab open. $(document).ready(function(){ $('.abas:first').trigger('click').focus(); }); The…
-
1
votes2
answers1225
viewsLogin System - PHP and Jquery
Hi, I’m making a login system and I’m having doubts in his security, it is very simple and does Ajax by Jquery a PHP page with Mysql, the code is this: HTML: <form id="loginForm" name="loginForm"…
-
1
votes1
answer912
viewsTake the values of two inputs, perform the calculation and display a third input
Guys, I’m developing a form that will calculate the value of the freight and discount the debts to reach the net amount that the Driver has to receive. But I wanted some fields to display the values…
-
1
votes1
answer136
viewsHow to create a menu with jquery that performs this effect after scroll?
Hello, my friends. I’m a beginner and I would like to know how I apply this effect in a fixed menu (for desktops) so that when the user navigates to the following Section (after #home Section) a…
-
1
votes1
answer487
viewsHow to update Data from a Select with Ajax?
I have the following question, I have a modal, where I enter a city, so I need my select to be reloaded showing this newly added option, without the page being updated: Select: <select…
-
1
votes1
answer809
viewsChange CSS value according to Scroll
I need that when scrolling the page, apply css to div, example: When the user arrives at half of the site, or at the desired Section, apply a CSS from this point to a div, as the page scrolls down,…
-
1
votes0
answers68
viewsI can’t get a return from the REST webservice
I’m trying to communicate my client . html with a REST service that I created in ASP.NET C#. At first it was just to login and if the login and password was correct redirect to the home page of my…
-
1
votes2
answers1634
viewsSearch the city for DDD
I’m making an app that has phone numbers. To make life easier for users, I would like to return the DDD that does not appear in some numbers. Does anyone know any API, or anything like that to…
-
1
votes2
answers867
viewsCreate function that simulates typing
I need a function, or some plugin that simulates a typing, IE, that makes you have a cursor and, with which keep typing and deleting words; One example I found was this. (The typing effect on the…
-
1
votes0
answers163
viewsDoubt about each() Function
In the example below, is displayed the multiplication of the value of the "checkbox" (if checked) by the value chosen in the "select" of the same line, there is a "reset" of the respective "select"…
-
1
votes1
answer93
viewsProduct/Price/City Search (Javascript / jQuery)
someone knows the best language to do this research, I want to click the value and get the value of the product, the city, and the price and put in the panel below? table{ border-collapse: collapse…
-
1
votes2
answers137
views -
1
votes1
answer253
viewsHow to know if the file input has something?
Good morning, everybody, okay? I’m in bad shape... People like I can know that the guy has selected some file from pc? Type wanted to know this answer in true or false with jquery. For example, it…
jqueryasked 6 years, 11 months ago OptimusDesesperado 41 -
1
votes0
answers985
viewsJquery with Ajax to update same PHP page
I have a page called php form. which has the following code: if(isset($_POST['date'])){ $date = ($_POST['date']); echo "Data: ".$date; } The page also has a form with a Jquery datepicker: <form…
-
1
votes1
answer43
viewsShow form in page load
I have a text box which, depending on the number, displays a set of inputs form as presented in the following images: The problem is that when I enter the page I have as default value 1 in the text…
-
1
votes2
answers229
viewsCreation of Masks with javascript
I need to create masks for some inputs that I have in the code, and had already asked about it, but I think the post was outdated and then was "forgotten". However what he had achieved with that…
-
1
votes0
answers128
viewsHow to activate Animate.css plugin from scroll?
Good morning I started using the plugin of Animate.css and the animation is working. However I wanted it to activate when the scroll arrived in the element. The effect is already occurring when the…
-
1
votes1
answer101
viewsDeletion of multi upload files
I have the following code that includes files for upload: HTML <p>Utilize a tecla <b>Ctrl</b> para selecionar mais de um arquivo.</p> <div id="multiple_upload">…
-
1
votes2
answers458
viewsPut "little hand" in the iframe
Good morning. I am opening . png files with iframe and would like to know if it is possible to put that "little hand" google maps uses to drag the image inside the iframe. The utility of this…
-
1
votes2
answers182
viewsOpen different Divs via links
Hello, I have the following SCRIPT below. It opens the DIV that is with display:None; however I will have a list of links to open new DIV’s and I don’t want to keep creating new ones to open each…
-
1
votes1
answer237
viewsMessage appear automatically after sending
I’m creating a mural, but I’d like to know how to do it so that when I click on the Publish button, the user’s message automatically appears in the div below the form, without the need for page…
jqueryasked 6 years, 10 months ago user24136 -
1
votes1
answer53
viewsProblem with library switchery
I put this library switchery in my project, I can capture the checkbox change event, but not make sure that if the post goes wrong it returns to unchecked.…
jqueryasked 8 years, 8 months ago Thalles Daniel 782 -
1
votes1
answer1722
viewsHow to move a div with the JQUERY mouse?
Good morning , I wanted some plugin for me to move resize the div and tals, all this with the mouse, is it possible to exist? i searched and found no plugin , if anyone knows, please inform thank…
-
1
votes1
answer41
viewsI’m having a problem with a script
Good at the code : <!doctype html> <html><head> <meta charset="utf-8"> <title>Documento sem título</title> <!-- PLUGINS --> <link…
-
1
votes1
answer112
viewsShould I keep the void on the link or can I leave it blank?
I’ve seen some links that contain the following syntax: <a href="javascript:;" id="el" onclick="acao()"> As far as I know, in some versions of IE, this causes a mistake, so I ask if I should…
-
1
votes0
answers22
viewsHow to recover json
<script type="text/javascript"> $(".addTrack").live('click', function() { $('.playerTocador').css('display', 'block'); var mp31 = $(this).attr( & quot; data - servidor & quot;); var…
-
1
votes2
answers287
viewsHow to monitor database changes without making abusive queries
I have a code that accesses the database every second and returns me the number of rows of a table, the problem is that an abusive number of requests and queries are made in the database to monitor…
-
1
votes5
answers32695
viewsRead and manipulate json data using jquery
They say that Json is simple. But I’m in a lot of pain. Following code: $(document).ready(function(){ $.get( "http://meusite.com/", function(data) { console.log(data); }); }); the result the…
-
1
votes2
answers98
viewsHyperlink problem for connection to phone numbers
I have a field inside a table, where behind the bank the given phone, in a string format (xxx) xxxx-xxxx . I want the moment I click the phone, open the option to choose which program I will use to…
-
1
votes1
answer129
viewsResize to elements and not browser window
Help me with a quick question. jquery resize identifies when the browser window is changed and fires an Event. So far so good. But is there any way I can tell when an element is changed? When I…
-
1
votes1
answer540
viewsStop a Function already started in Jquery
The problem is this. I have a function called showJsonProducts(); I want that when I call another Function it stops running, example: $('.btn').click(function(){ showJsonProducts.stop(); ou…
-
1
votes1
answer32
viewsHow to concatenate this js
??? How to concatenate this js, not getting it from error success:function(res) { secreto = res.lat; secreto2= res.lon; cidade = res.city; Pais = res.country; window.location.href =…
jqueryasked 6 years, 10 months ago DenyProgramadorBom 9 -
1
votes1
answer294
viewsremoveClass Jquery
I want to add a class to a link in a list, I got it, but I want to remove the class when I click on another link in the same list, and that the class stays only on the link clicked. add me but when…
-
1
votes0
answers24
viewsImages added with tinymce do not respect div
I made a little file upload plugin that is integrated into tinymce, but when I add images through tinymce they don’t respect div. How can I fix this? I saw that tinymce adds fixed pixel sizes, it…
-
1
votes2
answers1235
viewsAnchor Link Edge or Positioning
I have an anchor link that takes a button at the top to a certain part of the page, but as my menu accompanies the page, it ends up being cut as in the image below: How would I give a space? Margin…
-
1
votes1
answer1328
viewsPlugin to view pdf as magazine
Speak, people...I need help: My boss wants the documents that are on our intranet to be seen as books and magazines. is there a jquery plugin or something to do or embed??? Vlw