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
votes3
answers792
viewsAdd DIV’s with different ID’s using Jquery
Hello, I tried several tricks (unfortunately) but I can’t find a solution to my idea. I have an "app" that creates a to-do list, only I’d like to add to my list a different id for each div added…
-
0
votes0
answers22
viewsUpdate query with last table input
How do I update a query with data that was entered in the BD after the last query? Simple example is a social network: You are viewing existing data, and when there is a new post, this is inserted…
-
0
votes2
answers988
viewsHow to pass another parameter and value with another variable via post?
I need to send it to the archive php neighborhood. a new variable, using jQuery, how do I do? I have an input like Hidden containing the variable idcl which contains customer data: <input…
-
0
votes0
answers80
viewsInsert only the values of the selected checkboxes with their respective amounts into the Query String
I’m having a small problem in mounting a Query String with the variables I need. Well, I have the following code part: echo "<form class='acrescimos'>"; foreach($conexao->query($sql2) as…
-
0
votes0
answers111
viewsDoubt about $.getJSON on pages using PHP Templates
I know and already know how to use the method $.getJSON jQuery returning data that is returned with PHP by json_encode(). It turns out, in the project I’m developing, I use a Template (PHP) for…
-
0
votes2
answers1344
viewsOpen another page in modal Jquery
I have a problem that I can’t solve in any way. Well, I have a project on Asp.NET MVC as follows: Model public class Objeto { public Objeto() { } public Objeto(string nome, double valor, double…
-
0
votes1
answer868
viewsModal Window and Data Manipulation
I have the following question: I am working on a project where I have a registration form and I need to open a modal window to include an address in a form. Example: In my form I have 3 types of…
-
0
votes0
answers95
viewsRadiobutton inside the popover is not checked via javascript
I have a query screen where I feed an html table with the database records. In one of the columns, of each row, there are some options like edit, delete, add photos and another option that opens the…
javascript jquery twitter-bootstrap framework bootstrap-3asked 9 years, 5 months ago LeoFelipe 1,455 -
0
votes0
answers415
viewsUse a Carousel inside a tab-panel (Bootstrap)
Good afternoon! I am trying to implement a Carousel within a tab-panel; however, both use the "active" notation in the class to determine which item will appear. So, when I select the desired tab,…
-
0
votes1
answer128
viewsBox when mouse over the municipality
I am using the Googlemaps3 api and after rendering the map I would like that when you hover over some area (which has already been programmed) the code of the area is shown. What I’ve done so far…
-
0
votes2
answers1588
viewsHow to submit a form by pressing "enter"?
Like I do a kind of click for a input without using button? For example, I will click on input type what I want to search for and when to press ENTER the form will be sent. How do I do this with…
jqueryasked 8 years, 9 months ago Leonardo Costa 1,043 -
0
votes2
answers72
viewsButton animation does not happen
When I clicked on the button it was supposed to go left for 400ms but when I click it goes straight without the animation, it "jumps" straight to the final place without going through the rest. CSS:…
-
0
votes1
answer169
viewsScroll to the next Section
My code is written as follows: <body> <div id="arrow"> <a class="next"></a> <a class="previous"></a> </div> <section id="primeiro"> ...…
-
0
votes1
answer622
viewsWebsite navigation without Reload using ajax does not work properly
all right? Next, I’m making a website with navigation on AJAX, so that it is not necessary to upload the site every time you visit a page. Home, news, contact, etc.. I managed to do the site, update…
-
0
votes0
answers178
viewsHow to change the image in the Water-Ripple effect, when the effect changes some
How to change the image in the effect Water-Ripple-, when it changes the effect goes away, the photo it comes from, this pulled from the internet: <div class="a ripples"…
-
0
votes3
answers448
viewsCall a preloader before sending contact
I have the following form and its validations. How would I call a gif (preloader) to the form at the moment the user clicks to submit. It should disappear when the ajax is completed. function…
jqueryasked 9 years, 5 months ago Felipe Viero Goulart 3,693 -
0
votes1
answer4600
viewsHow to leave the first Option disabled and selected?
How can I start a selectbox of type Select2 with the first option selected as disabled? HTML: <div class="form-group"> <select name="tipoOperacao" id="tipoOperacao" class="selectTipo2"…
-
0
votes2
answers746
viewsBrowse List in Jquery (JSON)
Guys, I have a JSON, which will be returned by an ajax, with the following structure: { "ExtensionData": {}, "CodCli": null, "Codigo": 0, "Data": "/Date(-62135589600000)/", "Detalhes": {…
-
0
votes3
answers4496
viewsonchange Select does not work - jQuery
Hello guys I’m doing the onchange on the tag select but not working, I’m using the plugin JS Google for cities and states, example: JSFIDDLE: http://jsfiddle.net/fn7c57ag/1/…
-
0
votes2
answers188
viewsValidate input to receive value with point separator with jquery?
I need you to receive only values with this format (20.00) Solved <!-- apenas números--> <script> function somenteNumeros(num) { var er = /[^0-9.]/; er.lastIndex = 0; var campo = num; if…
-
0
votes1
answer319
viewsIntermittent problem with Uncaught Typeerror: Cannot read Property 'locac' of Undefined
I’m having this problem Uncaught Typeerror: Cannot read Property 'locac' of Undefined With the code: function fnc(){ var evt = (window.event ? window.event : event); var elemento = evt.target; var…
-
0
votes1
answer842
viewsNext and Prev button of the datapicker does not appear
Right and left button images do not appear. css files I installed: <link rel="stylesheet" href="/css/jquery-ui.css"/> <link rel="stylesheet" href="/css/jquery-ui.min.css"/> <link…
-
0
votes1
answer485
viewsHow to call the printer on a page made in ASP.NET MVC?
I would like to call the printer even if the page is being accessed by mobile. <div class="container droppedHover"> <div class="row"> <div class="span6"> <button class="btn…
-
0
votes1
answer105
viewsCreating HTML elements with Jquery
Guys, I have the following HTML structure: <ul id="list_Viagens"> <li class="has-sub"> <a href="#"> <span class="text">Viagem: <span…
-
0
votes1
answer910
viewsLimit jQuery checkbox
I am creating a system where I list images of the bank and below each image has a checkbox, all this within a for to take the images of the bank, wanted a function to be able to limit the amount of…
-
0
votes1
answer477
viewsDownload Image via Ajax + Laravel
I am trying to make a script for Download Images, by Ajax. It can be one or several. As you can see in JS, it has a function each searching for the selected images in the system. Then, I call Ajax…
-
0
votes2
answers214
viewsHow do I do other Jquery effects?
I was able to make those effects fadeIn() and fadeOut(), but I’d like to know how I do the other effects like the pop. I used this system: $(document).ready(function (e){ $("#menu").fadeIn();…
-
0
votes1
answer1552
viewsModal Bootstrap with input content
good night. I have an HTML page that has a text input and a button. In this input I write the name of the client and the button opens a modal to make a registration. would have as already in the…
-
0
votes0
answers691
viewsChange Image Color by clicking button
I have several images, when clicking the button I want it to take the image ID pass this ID to Onchange function and run the function update(this.jscolor). Below is the excerpt of the complete HTML…
-
0
votes0
answers38
viewsAjax converts url
Guys I have a routine that sends a query via AJAX to my PHP, so when I have for example the following query: ? value<=1000 ai it converts to ? value%253C=1000. The Request URL looks like this:…
-
0
votes1
answer56
viewsJquery if element (':Visible')
I’m trying to create an if so that if one div is visible, another one will disappear (in a wordpress template): jQuery(document).ready(function($){ if($('.classe1').is(':visible'){…
-
0
votes1
answer272
viewsClear auto-refill of Asp.net mvc forms
I have a sign-up screen where I noticed that when the user lets the browser save the cache, when it will fill always comes a list of information that has already been typed, I would like to clear…
-
0
votes1
answer269
viewsOptimize printing of great SQL-Server results through ASP
Today I have a classic ASP page with an unconventional chain-select (read "armengado") that returns a select populated with some data from an sql-server database (2005). I select the building and…
-
0
votes1
answer410
viewsIdentify selected checkbox
Good guys I have a page (view) that makes a select of the bank and returns me the registered images for the user select a limit of photos determined by the administrator most wanted to count and…
-
0
votes2
answers143
viewsHow can I apply a style only to one or the other <p>?
I have a problem that is apparently simple but because of my lack of experience I am getting screwed. The thing is, I’m doing a database listing of a text, and this text already comes with the tags…
-
0
votes2
answers44
viewsHow do you show only the shops of the selected neighborhood?
When clicked in the neighborhood 1, all div(store class) that did not belong to that neighborhood would be on display:None. may have several neighborhoods so wanted a way that did not need to update…
-
0
votes1
answer445
viewsPop-up with video for website
I have a normal site and I need that when I enter it have a pop up with a youtube video. A normal pop up with a close button. Can be done in html/css or with javascript or jquery
-
0
votes1
answer128
viewsJquery captures ID of div in scroll and changes title
I have a page with a title and several Ivs with different subjects and their own Ids, I would like that when descending the screen, jquery captures the ID that is visible and puts in the title.…
jqueryasked 8 years, 8 months ago Alê Moraes 883 -
0
votes1
answer154
viewsJquery does not work after using Function . remove();
Good morning, I am making a form with tabs where the user can add and delete the tabs when needed, for the user to delete the tab use the function . remove() from jquery and the next tab is in place…
-
0
votes1
answer3412
viewsHow to change the order of the javascript array index
How do I change an array order. Example: I have an array with the following syntax: arr = [H5,ul,H5,ul,H5,ul,H5,ul,]; The purpose is to change the display order of html, for example H5 beer /H5 with…
-
0
votes1
answer21
viewsInput cleaning itself automatically
I am creating a chat but the input where the message is written autoclean before sending the message follows the code to give me a hand of what can be, if you need more details put the full code…
-
0
votes0
answers488
viewsCapture Page with PHP Curl
People need to capture the source code of a page with Curl, but the jQuery of this page that generates the content and Curl does not return this data generated with jQuery, is there any way to…
-
0
votes0
answers82
viewsHow to solve the setinterval problem that only updates the first time
This giving only the first automatic refresh after. Follows what I am using var refresh = setInterval( function() { $('#uohide').load('rand.php'); }, 5000); html <div id="uohide></div>…
-
0
votes1
answer513
viewsForward button - back on a slide
Well, I slided it and it’s working. But it advances automatically, so I want to know how I can add a button to pass and to return to the previous slide. function simpleSlider(){ var sliderActive =…
-
0
votes0
answers112
viewsResize image "by finger" on web page
I wonder if there is any technique, a plugin, whatever, something that allows you to resize an image that is on my web page in an interactive way with the user, as the image below shows:…
-
0
votes1
answer105
viewsPan Image js and css with "mask" on top
I am using a js script to make a "pan image" effect as the following link: http://gdebrasil.com.br/test/ The first one listed has an image on top and so it doesn’t work.. the bottom one is the…
-
0
votes1
answer86
viewsJquery json with Indice
I need to create a Json result, where the state is the index. <?php //header('Content-Type: application/json; charset=utf-8'); require_once('Connections/conexao.php'); $selec = "SELECT estado,…
-
0
votes2
answers119
viewsHow to avoid the spread of the toggleClass method in the click event
In the code below I have two toggleClass(are in total 12) that are working properly, but I need it to be expanded only 1, that is, if I expand the primeiro and then the second, immediately the…
-
0
votes2
answers524
viewsDisable Scroll with open menu
I have a menu with width 100% and height 100%, in which I use a button to open it and close it (hamburger style). But when he opens my site, he still scrolls behind it. I want to know how I can…
-
0
votes1
answer117
viewsproblems with autofocus in custom input
galera created a custom input, it works 100% the problem and autofocus is not working. Could someone help me? Follow the code jsfiddle…