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
votes2
answers453
viewsFind div with attribute value equal to the one selected with jquery
I have several buttons with data-numBtn numeric and with value equal to that of div (with attribute data-slide) that controls. In short, I’d like to click e.g. on .btn with data-numBtn="3" something…
-
1
votes1
answer2767
viewsHow to validate input file with jquery validation?
I’m trying to validate a input of the kind file with Jquery Validation. Following the documentation, I do the following: My input: <input class="form-control" id="ImagemUpload"…
-
1
votes0
answers91
viewsJavascript and html problem in the intellij project
I created the index.js file which is composed by the javascript code below: $(document).ready(function() { $("#menu").accordion({collapsible: true, active: false}); }); and put it together with…
-
1
votes2
answers434
viewsno fixed menu when scrolling the page
I want my menu to stay fixed as soon as it reaches the top of the page but I’m not succeeding with that I do not know where I am missing follow my code below: <script type="text/javascript">…
-
1
votes1
answer164
viewsDoubt with JSON in Jquery Autocomplete
I have the following return JSON {"cliente":[ {"id":"1","nome":"Fulano"}, {"id":"2","nome":"Ciclado"} ]} And I need popular man autocomplete, $('#nome').autocomplete({ source: function(request,…
-
1
votes2
answers40
views -
1
votes1
answer155
viewsWhat dependencies in Maven to use Jqwicket to integrate Wicket and Jquery
I am developing a Wicket-Hibernate-Spring project. Until the communication and persistence of objects in the bank, it was working normally. After some time, with some scope increase, I need to use…
-
1
votes1
answer936
viewsHow to store and rescue Session value through jquery?
I am developing a mobile application with intel XDK I have to do a login which will be validated by the php file that contains all validations and ultimately stores in session the values I need user…
-
1
votes1
answer2447
viewsjQuery function to format date by . class
I’m trying to make a script that gets the class . input date and convert the date to en, but I can’t do it, I’d like a help. $.fn.converteData = function(){ var data = ($(this).val()).split("-");…
-
1
votes1
answer342
viewsProblem when making AJAX DELETE request by sending JSON
When making a request DELETE a url that does not support OPTIONS browser returns me: 405 Method Not Allowed Is there any way to prevent, in my Javascript code, the browser to send a pre-request…
-
1
votes2
answers55
viewstooltip always present
I have the following code: http://jsfiddle.net/56bv52us/ What I’m trying to do is the message keeps popping up, which means you don’t have to mouse over it to get the message out, it’s always there.…
-
1
votes1
answer1189
viewsQuick search with jquery
I’m trying to do a quick search on the page, however is giving error, it hides all fields and even if I type something that has in the table the same does not appear. CODIGO JS. $(function(){…
jqueryasked 10 years, 4 months ago Renan Rodrigues 3,709 -
1
votes1
answer384
viewsHighlight link from current page
I am implementing a menu in the header of my page. As the user clicks on the buttons in this menu, the page is rendered just below. I would like to highlight in the menu the button referring to the…
-
1
votes1
answer52
viewsSort by javascript sales node
How can I make javascript sort this array by sales node?…
-
1
votes1
answer667
viewsElement added with jquery append does not trigger event
I cloned a div that contains 2 elements: checkbox and button. The elements in the main div, of origin, trigger the events normally. It turns out that after cloning the div with the elements inside,…
jqueryasked 10 years, 11 months ago morphinduction 473 -
1
votes0
answers85
viewsPrint html page without losing settings
I wonder how do I print through a JS function, all the information contained within a <div>. However you would have to print only what contains in div, without losing colors and formatting.…
-
1
votes1
answer220
viewsAjax query to display multiple content
At the moment I have some banners that are loaded via ajax, and each one makes a request to load the html. Now I’m trying to optimize these processes and decided to make a single request to load as…
-
1
votes2
answers584
viewsFind out if anything has changed in the form using jQuery
Hello, I would like to know if there is any method in jQuery that returns if there have been changes in the initial form or not. For example, I have 3 empty fields, and as soon as I modify some of…
jqueryasked 10 years, 4 months ago Jonathan Machado 283 -
1
votes3
answers761
viewsForm.serialize() does not work
I am developing an application in which I have several tables and dialogs using the form.serialize(), but this particular one isn’t working and I can’t find the reason why. Form: <form…
-
1
votes1
answer98
viewsHow to do the paralax effect horizontally and vertically at the same time
I would like to know how to do with the paralax effect that exists on the following site: http://hellomonday.com/ In the arrows on the left side (arrow up), after the site load, see the example of…
-
1
votes1
answer1351
viewsIs it possible to get the name and value of all Sessions by javascript?
I am creating several Séssions, and would like to get the name and value of all by Javascript. When creating two Sessions in Asp.Net MVC, for example: Session["usuario"] = "user"; Session["tipo"] =…
-
1
votes0
answers35
viewsIs there any way to catch the before the "orientationchange"?
In my mobile application (programmed in Javascript), I have a function that is activated when the display orientation is changed. $( window ).on( "orientationchange", function( event ) { ... } I,…
-
1
votes2
answers151
viewsInclude class as link
I have a div which will contain in your Hover a specific color, this color will depend on the a that exists above it. .homeNoticiasOpacidade { width: 100%; height: 100%; background-image:…
jqueryasked 10 years, 11 months ago Felipe Viero Goulart 3,693 -
1
votes2
answers373
viewsOpening dialog() not working
Well, in a way I made some changes to my code, which is instead of using a table i am using a list hierarchy in HTML li. The code in the fiddle is exactly the same as my code within the system (with…
-
1
votes1
answer521
viewsHow to dynamically add and remove fields generated via Cakephp?
Hello. I have a <select> which is powered by database data. I need to manipulate this select and multiply it if the user wishes to send two different data. How the <option>s depend on…
-
1
votes1
answer140
viewsSend hidden value in a select
Is there a property in select that when I select an option when sending it sends another one? For example: <form action="teste.php"> <p> <select name="mes" id="mess"…
-
1
votes1
answer3433
viewsRun function with Javascript/ Jquery timer
I need help creating a function in javascript/jquery to do the following: When user accesses my site, starts time counter. If the person tries to close the browser window/tab before a certain time,…
-
1
votes1
answer331
views"Particles" moving with the mouse in the background
I have little squares of four colors and would like to throw them in the background in a random way and give that effect to Parallax when you move your mouse. Does anyone know any plugin for this?…
-
1
votes1
answer107
viewsHow to make an element return as it was after an action with jquery
I have a li and by the css I left it as a square and put an image in the background with the css, when my user clicks this image comes out and enters a text and when he re-clicks the image back, I…
-
1
votes1
answer334
viewsCreate a random combination with CSS classes using javascript or jquery
Hey, guys, I was wondering if anyone knows a solution for how to make a combination of css classes using javascript or jquery? What I would like is to have links and each of these links have several…
-
1
votes4
answers140
viewsHow to add class to the first <img src=""> of a set
Guys , I have a set of <img src=“”>. I need, once the page is loaded, to add a class to the first of that set with Jquery, but remembering that they have a relative, the href. ... <a…
-
1
votes2
answers1005
viewsGoogle Maps Iframe is not showing the location marking
There’s a part on my site where there’s a select with several places in Brazil. When selecting a place, just below has a iframe with Googlemaps that automatically updates to the coordinate…
-
1
votes4
answers791
viewsTaking data via ajax
I need to get content from a div. I’m actually building a dynamic menu, where I define <li class="menuLi"> <div class="acao">-3</div> <div class="desc">Inicio</div>…
-
1
votes1
answer31
viewsButton value is not passing correctly
Dear colleagues. I have a button on the bootstrap from which I get the user ID this way: <button class="btn btn-xs btn-primary" id="btn-salvar" value="<?php echo $jm->IdUsuarios; ?>"…
-
1
votes3
answers1694
viewsHow to do when a button is clicked is created an element on the page?
I need that when a person clicks on a given button, an element is created on the page. I’ll explain what I want to do with it. I’m creating a button, and when it’s clicked, a modal-box (a kind of…
-
1
votes1
answer14
viewsPlugin shortcut, incompatibility
I use a plugin that activates shortcut keys: http://www.stepanreznikov.com/js-shortcuts/ Only this plugin only runs on old versions of jQuery. I would like it to work in the latest version of jQuery…
-
1
votes1
answer271
viewsEffect of random words
Personal I am wanting an information I am behind an effect whose name I do not know I am trying to search the internet however I do not know the name gets very difficult and on top of that I do not…
-
1
votes1
answer94
viewsHow to format mvc helpers according to my Bootstrap layout?
I am trying in various ways to adjust the layout according to the Helpers <!-- rightpanel3 --> <div data-role="panel" id="opcoesusuario" data-position="right" data-display="overlay"…
-
1
votes0
answers114
viewsjquery validation problem
I’m using a form to dynamically fill out list items. I clear form fields when entering list items in the item addition act. Problem: When I perform Ubmit to record, Razor’s help…
-
1
votes1
answer524
viewsCount selected checkbox
I’m having trouble counting the checkboxes that are selected, maybe for the following reason, I have a radio that is also selected. Whenever I use the code $('input[type="checkbox"]:checked').length…
-
1
votes1
answer21
viewsMootools interfere with jQuery?
Good morning. My site uses jQuery, but I need to add a code that sends a confirm() to close the browser, however I realized that only works with the library mootools: window.addEvent('load',…
-
1
votes2
answers791
viewsHow to create anchored links and darken all the rest of the page’s content except the intended section?
Here’s what I wanna do: <div id="ponto0"><a href="#ponto1"> Link </a></div> <div id="ponto1"> conteudo </div> By clicking on the link href="#ponto1" the person…
-
1
votes1
answer498
viewsTake 2 select value and display the data of each
I’m putting together a page where the person will be able to compare 2 products. I have 2 tables, categories and products. The 1st combobox, make a select in the table of categories. When choosing a…
-
1
votes1
answer5544
viewsOn(change) event on radio button
In the project I have a file that makes inquiries of freight prices and that at the same time returns two radio Buttons with the freight values. The return of the HTML is as follows: <p>…
-
1
votes1
answer732
viewsAdd and show tooltip
How do I add a tooltip to an input and make it active using js? (I’m using twitter bootstrap)
-
1
votes1
answer29
viewsHow to use reversed function in this case of jquery?
// Aplicando CSS na Página de Eventos $(".descr-eventos").on('mouseover', function(){ $(this).find('.link-evento').addClass('blank'); }, function(){…
jqueryasked 10 years, 3 months ago Marcos Vinicius 7,188 -
1
votes1
answer1207
viewsHow to check if a link still exists and if it can be opened in an iframe
I use iframe in my project to open certain links from different sites! These links are stored in a database, but make a future progression these same links can be changed or deleted, soon they no…
-
1
votes1
answer368
viewsPlay an html class within an Asp.net code
I have that code: <%# Eval("DsPathDocumento") != null && !String.IsNullOrEmpty(Eval("DsPathDocumento").ToString()) ? String.Concat("href='/UpLoads/", Eval("DsPathDocumento"), "'") :…
-
1
votes2
answers1445
viewsCheck if select field has changed
I would like to create a js function, to check if a select field of my form has been changed. I created the function below to check if an input has been changed and works, but it does not work to…
-
1
votes1
answer95
viewsRecover disk image via callback
Well, I am developing a feature that aims to upload an image (this step has already been accomplished) and soon after I "recover" the same to perform the selection of some color in it (Colorpicker…