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
-
3
votes1
answer215
viewsI can’t hide an element with css by taking the data-column attribute
I have an input with the code below: <input type="search" class="filtro tablesorter-filter" placeholder="" data-column="1"> I’m using a css page to try to hide it: <style>…
-
3
votes4
answers8540
viewsHow to let bootstrap tab active after clicking on pagination?
I have a screen made in the bootstrap that contains two tabs, one called "Settings" and the other "Users". Inside the tab "Settings", I have a simple, normal form, already inside the tab "Users", I…
-
3
votes2
answers1089
viewsIs there a Parallax Mousemove effect for jQuery?
How do I find a type effect "Parallax Mousemove" I would like to know the name of this effect and if you have any examples on the Internet. I knew how to do that effect on Actionscript 3.0 was…
-
3
votes2
answers984
viewsHow to make jQuery Chosen disregard accentuation at the time of the search?
I developed a website that uses jQuery Chosen, and would like him to did not consider the accents at the time of the search. For example, I have a list with several names, and I need to look for…
-
3
votes1
answer227
viewsUsing Cycle2 and "picturefill" together
I created a slideshow responsive using Cycle2. Because the images are very large, I need to upload a smaller file of each image when the page opens on mobile devices. So I thought I’d use the…
-
3
votes8
answers4914
viewsDo not allow saving image of a web page
I don’t want the "save image as.." option to appear when I right-click an image on an HTML page. That is, it will be impossible to save images from the site. How can I do this check?
-
3
votes2
answers585
viewsAlgorithm for calculation and distribution of elements on the screen
We are here at the company wanting to create a showcase with the effect of reorganizing style which is used by the stackexchange itself http://stackexchange.com/sites I’ve been thinking about…
-
3
votes2
answers2791
viewsHow to treat a "redirect" after an Ajax call with Jquery?
Use Jquery to make an Ajax (GET) call. When "redirect" occurs, code 302, for a valid answer Jquery returns error instead of redirecting to the new URL. There’s some other way to treat it?
-
3
votes3
answers2188
viewsUse symbol in input text, and disappear when typed
I have a text box, a input type text. And I wanted to insert an image in the corner, for example, a magnifying glass. And when the user starts writing, that magnifying glass disappears. It is…
-
3
votes2
answers351
viewsHow to Interact Javascript + jQuery with CSS
I have a CSS class called .codigo. I wanted when I was going to use it, it would remove the HTML formatting (example: do that <font></font> appear as shown here in the PT OS, using the…
-
3
votes3
answers3055
viewsWeb service in javascript
How to consume a Web Service by javascript using Visual Studio? I did a search and found a way to perform with Jquery but never used this before. I need to consume this Web Service to search for…
-
3
votes2
answers205
viewsProblem generating content via Jquery
I have a problem that depending on the selected text in the first check box it does not load the years relative to it in the database. Only when the text loaded in the first box has no space jquery…
-
3
votes2
answers5577
viewsHow to see if a "file" input file has been selected?
Is there any way to know if the file type input has any file already loaded, ready to be sent? I want to make a condition where if you have some file to upload in the first input, then show an add…
-
3
votes4
answers224
viewsGiven a group of options, at least one should be selected, using jQuery
I have a group of check-boxes that allow you to select flags on a search screen. It turns out that if I allow the user to uncheck all of them, it is certain that there will be no result. That said,…
-
3
votes2
answers2903
viewsHow to customize scrollbar in Chrome?
I have a select Multiple combo that can not take up much vertical space, so the ideal would be to be able to scroll down with that traditional arrow to navigate from 1 to 1 item down. Have some way…
-
3
votes2
answers2867
viewsAssign selected item in a <select>
I have the following code: $("#cep").on('mouseout', function() { var url = "http://cep.republicavirtual.com.br/web_cep.php"; var cep = $(this).val(); $.ajax({ type: "GET", dataType: 'json', data:…
-
3
votes2
answers1082
viewsjQuery function with fancybox - I’m having refresh problem
When opening or closing the fancybox (I’m a programmer php but beginner in Javascript with jquery), my page gives a refresh and goes back to the top of the content losing the focus of the place that…
-
3
votes2
answers386
viewsRotation check in javascript
Is there any way to check the rotation of a div in javascript, for example the verification of style left is offsetLeft, someone could tell me what the rotation would look like?…
-
3
votes1
answer934
viewsEvents jQuery runs automatically
I have the following code: $(function(){ function teste(teste){ console.log(teste); } $('element').on('click', teste('teste')); }) When I execute this code the function teste is fired without me…
-
3
votes2
answers462
viewsHow to make "new" notification equal to Gmail?
Hello. I’m looking for how to make a "new" notification equal to Gmail: That is, when there is a new item in the list the "new" tag appears and only disappear after the person views it. From the…
-
3
votes5
answers363
viewsWhat does ? and : within an expression?
I saw on a website the following code: var campo1 = document.getElementById('valor1').value; var campo2 = document.getElementById('valor2').value; var maior = (parseFloat(campo1) >…
-
3
votes2
answers1081
viewsDynamic checkbox validation with jquery-Validator
I’m trying to validate a checkbox using the plugin http://jqueryvalidation.org/. The problem is that the field I am validating it does not exist until another preset field is selected. Therefore,…
-
3
votes2
answers189
viewsData overwrite to cycle for
I have the following table: This table is dynamic and works like form, IE, the user when clicking Novo a new row is created with the dynamic fields. By clicking Salvar Dados all user-created lines…
-
3
votes1
answer3352
viewsObject appears at a certain place on the page
My question is this: I want/need a code for my site, which works the way of this website. In it, when the user uses the scroll mouse to scroll down a bit on the page, a little arrow (which when it…
-
3
votes2
answers746
viewsHow to generate a sequence of dates from start and end dates?
Javascript and jQuery have been my executioners. I have a field hidden that has initial date and final date. As I do via javascript, a for to go filling a TD with the dates passed in that period,…
-
3
votes1
answer1779
viewsCalculate online time with Javascript/jQuery
I need to develop a code where I don’t have access to languages back-end, need to do a function that calculates the time a user is online on the page and save this time on localStorage, I thought…
-
3
votes1
answer2956
viewsTake the value of an image attribute and show it below
I have this code: <script> $(function(){ $(".flipster").flipster({style: 'carousel', enableTouch: true, start: 0, onItemSwitch: function(){ var nomeAlbum = $(this).attr("data-title");…
-
3
votes1
answer953
viewsHow to avoid overlapping (overlapping) <select> elements in a form on the same page?
I use wordpress as CMS and created a form with the plugin WPCF7 (Contact Form 7). It turns out that some form elements such as select, checkbox and radio button overlap each other in a way that I…
-
3
votes1
answer539
viewsFunction to when clicking on word hide div
When rolling down the scroll in this example (http://jsfiddle.net/wanderstone/6pv54/3/ ) you will notice that there is a box that stays fixed with the word "close". When you click on the word…
-
3
votes2
answers397
viewsIncrease an index to a certain number and then decrease until reset with jquery
How can I make a script in jquery to increase an index to a certain number and then decrease one by one until zero. I’m doing it the following way to increase but I would like that when it reached…
-
3
votes1
answer505
viewsDoes jqgrid support line break formatting?
I’m developing an application where I use Jquery(1.11) with Jqgrid(4.54). This application has already been developed in ASP, where in its contents there is a login data totalizer along with the…
-
3
votes1
answer272
viewsJquery Cycle - A centralized slide and the other two partially appearing
I am in need of a slider that would have at least 3 slides, where the middle one would appear completely with the resolution and the other two sides would appear partially. I’m using the solution…
-
3
votes1
answer263
viewsMake if condition with split
I need to make a condition, where I check on a input the user entered the character .. So I’m making one if where I do split with my input value. if (idCliente.split('.')[1].length > 0) If the…
-
3
votes3
answers497
viewsTake matrix size with EQ() - Jquery
I’m with a html which has five elements div. I would like you to help me somehow to make a Get the size of this matrix in Jquery. Ex: with the function eq(), consige take a page element, referenced…
-
3
votes2
answers500
viewsExtend a specific jQuery method in ASP.NET MVC jquery.unobtrusive-ajax.js
I’m using the Extensions methods @Ajax.BeginForm() to save the data via AJAX. To avoid running more than one click on the Submit button, which could cause a double Insert in my database, I decided…
-
3
votes3
answers3204
viewsButton next to text bar with Bootstrap
I am trying to create a very simple form with Bootstrap which consists of only one text bar and a search button. But, although they are both in the same .form-group, to text bar has a width 100% and…
-
3
votes1
answer1331
viewsjQuery Ajax does not work on IE8 and IE9
I am using Internet Explorer 9 for testing and ajax requests do not work (in all other browsers they work). I have that code: $.ajax({ type: "GET", url:…
javascript jquery ajax internet-explorer-8 internet-explorer-9asked 10 years, 7 months ago Victor Mag 168 -
3
votes2
answers182
viewsAnimation namespaces in jQuery
For those who are already used to using jQuery, use the function jQuery.fn.stop is something simple and very common when we work with different animations in a common element. My doubt is focused on…
-
3
votes2
answers823
viewsSelecting a checkbox and not sorting the dataTables
I’m using the dataTables and in one of the columns I placed a input:checkbox for the user to be able to mark all columns or uncheck, remembering that in the columns I have to sort, and in this…
jqueryasked 10 years, 8 months ago Marcelo Diniz 3,356 -
3
votes3
answers543
viewsMake a rest screen with Jquery
I need to make a rest screen, when the mouse stand still for a few seconds opens the div of rest, tried it unsuccessfully: <script type="text/javascript"> $(window).mousemove(function(event) {…
-
3
votes2
answers1390
viewsDynamically change a class background
I have a site where the content creation is dynamic and the user can choose the color to be used in components, but, I need him to see the update in real time, then, I need the class to be changed…
-
3
votes1
answer2104
viewsReal-time values in the input type="range" class
Well, I tried to do the values in one input type="range" demonstrate in real time to the user to select more I’m not getting. with jquery is also the same just by dropping the mouse from the class…
-
3
votes1
answer108
viewsjQuery Reverse conflict
I’m working on a website that I want it to change the order of the read when the window is < 800px, and I implemented the code below. The problem is that it seems to be failing at random and…
-
3
votes1
answer383
viewsValue of a query to a numeric field returns non-numeric
I am trying to read a field in a table that is of the whole type. And it is also a primary key and auto-increment. The value returned is put in a label (I’ve tried putting in an input text as well).…
-
3
votes3
answers5402
viewsFade effect on image exchange with jQuery
The following code makes an "image Fader" in a div that I have in my document. However, the effect is very 'dry', I would like to have a transition during the image exchange, like the "fade" effect…
-
3
votes1
answer1892
viewsAutomatically select a select and press the button
I got a field like <select>/<option> that when the user selects a value I call a function to popular another <select>, type the state and city combos, this is working, and then the…
-
3
votes1
answer181
viewsusing jquery.cloneya plugin hook
I’m using the plugin of jquery.cloneya which is a plugin to clone forms that were already included in a template of an administrative panel I’m using. I don’t quite understand how to use the hook…
-
3
votes1
answer360
viewsDivs being added on top of each other
I have three menus, when I click on each one, it leaves a div that was like display:none as display:block. What is happening is that your clicking on Menu 1 and then on Menu 2, it is adding a div at…
-
3
votes2
answers9442
viewsHow to catch the JSON return via jQuery?
I have a link from Click to Call that returns me a JSON. How to proceed to retrieve the data generated in JSON via jQuery? Link:…
-
3
votes3
answers3033
viewsLoad page only when image is loaded
Load page only when image is loaded, as I do using JQuery? I tried some things but unsuccessfully so far, someone helps me... I don’t have the only image id of the div q it is inside... EDIT: I’m…