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
answer265
viewsjavascript, Selected by Text
I would like to select <selected=true> on the basis of text and not in the value. I tried that way: function setSelectBoxByText(eid, etxt) { var eid = document.getElementById(eid); for (var i…
-
1
votes2
answers4146
viewsPlugin that applies zoom when mouse pass
I have an internal page of products, which the layout is as below: What I need is that when the person hovers the mouse over the smaller square, he shows the large image above and zoom in when the…
-
1
votes1
answer944
viewsView Selected Image jQuery
I’m doing my TCC and it will be about image processing. I’m having difficulty with the web part, and wanted to know how I do to load the selected image in the input file appear on the page. Here is…
-
1
votes1
answer386
viewsHow to limit to 1 the keydown event in Jquery?
I made a code that when starting my event, it makes a block make a move from the top down. If it keystrokes the "3" key between the pixels set during the animation, it causes the animation to be…
-
1
votes2
answers300
viewsGet link position in a menu using jQuery
I’m trying to get the position of the links in a menu and I’m not getting <nav class="menu"> <ul class="nav"> <!-- <span><a href=""><img src="cds.jgp" alt="Logo…
-
1
votes1
answer58
viewsChange the content of onclick according to page size
I’m doing a project that some images have tooltip, but it only appears with the click. The problem is that the mobile version is not cool, so I need to open a new page with the content of this…
-
1
votes1
answer1330
viewsHow to get values from the first column which is a checkbox of a Gridview?
I have a Gridview and I need to get the values from the first column of Grid. My first column is a checkbox, I need to check that they are marked and if yes get their values.
-
1
votes2
answers140
viewsJquery text editing component
I need to use an editor Jquery that comes closer to Word. Which one should I use? Does anyone have any indication?
-
1
votes3
answers2593
viewsHide the destination URL
In the jquery example the arguments are well identified; url and form parameters. $.ajax({ url: "test.html", }).done(function() { // ... }); I want to know if you have any way to hide the url in…
-
1
votes1
answer200
viewsAdd automatic content exchange
I need to find a way to exchange data-id and data-content information to . number and . step automatically, without having to depend on Hover(). I need to maintain both the automatic form of this…
-
1
votes1
answer4075
viewsHow to put time and date in input fields with jQuery and jQuery UI?
How to include jQuery UI style files and Javascript files so that date and time inputs show pt_BR fields perfectly? You need to modify library attributes?
-
1
votes2
answers952
viewsResizing DIV’s with Jquery
Good guys, I have a div of id 'cont', this div 'cont' has 300px height and inside div 'cont' there are 3 other div of same class called 'box' where each div has 100px height, inside each div 'box'…
-
1
votes1
answer443
viewsDiv dinamica + php
I need a table that is updated every instant automatically, like the facebook timeline that updates itself. I think in jquery you can do this, someone has some idea?
-
1
votes3
answers812
viewshow to prevent multiple email submissions
Currently, my form sends the same email several times if the user clicks more than once on Ubmit. How do I stop this? I tried with these two variations of Cód, but it didn’t work.…
-
1
votes1
answer397
viewsCorrections in Fullcalendar
I am trying to adjust the display position of the content within the first , the one that shows the Month/Day. I would like it to be displayed as: Day/Month, Ex: 23/08. I searched, but my lack of…
-
1
votes2
answers5787
viewsHow to take CSS values from one element and apply to other elements. Stick Footer
I’m using the solution Ryan Fait’s Stick Footer, but wanted to make it more dynamic using Javascript, allowing the footer height to automatically calculate the other values of the CSS properties of…
-
1
votes1
answer289
viewsChecklistbox when dynamically loaded does not mount the check’s
When it was manual, the check’s(the check boxes) were all ok. As I now mounted via jquery and controller, no longer assembles the check’s, is like a listbox without being able to make selection. See…
-
1
votes2
answers389
viewsFailure to validate fields
I have a form that only enables the forward button, when the field is filled or selected. The fields Cód. Subscriber, Subscriber Name and the Date of Installation are allowing to delete your content…
-
1
votes1
answer67
viewsProblems with Eventhandler . click() and . Animate()
When I use $('#nervID').mouseout(function(){/* ... */}); the alert() works and the .animate() works normally with opacity running and being applied to class elements .page The problem is that if I…
-
1
votes2
answers5780
viewsPerform an action after the change has been made
I do not know if there is such a possibility, but I would like to know if it has to execute a certain action after the action of change of a select. Let’s assume I have one select thus: <select…
-
1
votes2
answers513
viewsCreate jquery navigation menu load method
I’m having a hard time creating a menu where pages are loaded into a div. What happens is that I’m creating an application following the MVC standard, and I do the treatments of the Urls to redirect…
-
1
votes1
answer1844
viewsHow to move element randomly across the screen (css or jquery)?
How to make an element move around the screen randomly by bouncing at the edges of the screen. Like those old DVD screen savers?!? The closest example I found my question was in css (keyframes,…
-
1
votes2
answers322
viewsCreating a kind of fake click
Well, I have a box, this box has a few tabs, clicking on the tab the contents of the box changes. The content is changed when I click on one of the links that calls the tab. Here is the code: <p…
jqueryasked 10 years, 5 months ago ivan veloso 2,900 -
1
votes3
answers11724
viewsHow do I create a floating html window?
I need a window with table content that opens when I click on a link and has a close button.
-
1
votes2
answers290
viewsChanging a textbox within a textbox group / jQuery
I have a function that when clicking on a button, it would add fields, each time it adds, adds 3 fields, quantity, total value and subtotal value. My question is how would I change the total value…
jqueryasked 10 years, 5 months ago braulio_holtz 1,613 -
1
votes1
answer2437
viewsHow to disable date and time spent in jQuery UI calendar?
I would like to know how to create a function that disables the dates passed in jQuery UI. For example, it is now 15/09/2014 07:31:25, how to disable any date and time prior to this current time?…
-
1
votes1
answer352
viewsHow to make a function return result only after click?
When using the function confirm() in Javascript, it’s usually like this: var resultado = confirm("Deseja realmente confirmar?"); if(resultado){ //confirmou... } I wonder if there is any way to do…
-
1
votes3
answers9448
viewsAdd and remove class
I have a simple scheme to get to class .ativo and remove it and add the class .block then find the id #banner1 and adds the class .ativo and removes the class .block Only it’s not working, look…
-
1
votes0
answers38
viewsHTTP header authentication error
I’m trying to set up a Zopim Reseller API, only I’m facing a problem: Key API authentication and Secret API. I have the following Javascript code: <link…
-
1
votes2
answers141
viewsTurn string to uppercase before dash
How to capitalize string before a dash ( - ) as typed, using jQuery/Javascript? Text example: "ab-Hello world Cx- All right?" Exit: AB- Olá mundo CX- Tudo bem? // $('textarea').keyup(function(){…
-
1
votes2
answers58
views"DD/MM/YYYY - HH:SS" for "milliseconds"
I’m using the datetimepicker Bootstrap and need to convert the result to "milliseconds". Currently the result comes out: "dd/mm/yyyy - hh:ss" and I need it in "milliseconds". What’s the best way?…
-
1
votes1
answer293
viewsHow to capture the size of a div where the value has not been set
I have a div, which contains a text inside, when I pass the mouse over it, another div, which is a small bar of height:3px, no longer be display:none and it gets display:block, So far quiet,…
-
1
votes2
answers7019
viewsPass parameters through jquery to controller
I have a method in the controller(void) that receives some parameters(3). I am unable to pass to the method. The other times I did, passing to an object there, I have succeeded, with method…
-
1
votes2
answers414
viewssquare div with 45º angle
The question is complicated and I believe the answer will be as well. I do not know how to explain very well what I would like to do (and I don’t even know if there is a way), exactly why I put…
-
1
votes1
answer967
viewsPrint json return text in the middle of code - Jquery/Javascript/JSON
I have a chart that is created according to the year, which is passed by AJAX and returns a JSON containing the values to create the chart. Well, I send the AJAX with the year, return the JSON,…
-
1
votes3
answers855
viewsHow to change the selected option in my 'combobox' from a 'li'?
I need to make a page similar to this where I budget a computer. The last product of Chipart’s budget is the cabinet, their website has an option to open an image gallery and select which cabinet I…
-
1
votes0
answers42
viewsOption ex: select state | select city
I’d like to do the following: I have 3 Options, and as each one was selected it would bring the result the next option. Ex: Option 1 Select state | Option 2 Select city So when selected the state…
-
1
votes1
answer822
viewsTurn an entry’s uppercase characters into lowercase characters
I have this simple form and a jquery code that automatically fills the email field with the first name of the 'name' field and adds '@dominio.com.br' to form an email address. How do I also make it…
-
1
votes1
answer323
viewsjquery-ui dialog displays only the title bar
in my spring application, every link in the class popup on the page below is opened in a popup window implemented with the widget dialog jquery-ui: <%@ include file="../include/header.jsp" %>…
-
1
votes2
answers1732
views -
1
votes1
answer1150
viewsReturn data from Java to Ajax using Json
I have a Java application, and a module that inserts products into the base using REST. At the base the product id is autoincremental, and as soon as I add the same at the base, I need the id for…
-
1
votes1
answer138
viewsHow to compare the value within a <span></span> and trigger an action?
How to get the value within this span? <span id="Preço">199,00</span> I need to compare it to another, so it fires an action when it’s over 199.00.
-
1
votes1
answer278
viewsAjax after page fully loaded
I have a very slow code running on the server side, to avoid the delay in rendering the page, I decided to call the function via ajax after the page loaded, I used both ways but both did not work:…
-
1
votes1
answer403
viewsInstantiate a standard global function to call functions
I wonder how I can create a global variable (or global element, I don’t know what you call it) as in several plugins I see. Example in Jquery where to call any function related to it only have to…
-
1
votes0
answers48
viewsCaroufredsel FOUC when caching page
We are facing a problem with caroufredsel, where the first time the site opens it loads perfectly, however when entering in cache and open it again occurs a F.O.U.C. and the elements are displayed…
jqueryasked 10 years, 4 months ago user3794698 19 -
1
votes1
answer114
viewsJavascript variable Undefined
I’m trying to pass a figure through a input type hidden HTML generated in PHP for Javascript, but this variable in Javascript is undefined. What can be? PHP <form name='form5' method='post'>…
-
1
votes2
answers268
viewsLarge images corrupted or truncated when pulling from SQL server with PHP
I am searching images from the SQL-server database through PHP and jQuery+AJAX. The image when it is small loads everything full, but when the image is a bit large from this error in Javascript:…
-
1
votes0
answers104
viewsMultiple MDI windows on Web, similar to Windows Forms
I want to work with multiple independent windows in the web environment with Javascript, jQuery and etc. Similar to using MDI in Windows Forms. I know you can make this environment in Silverlight,…
-
1
votes2
answers624
viewsHow to apply jQuery Validate rules to multiple fields at once?
I have an ASP.NET form and am using jQuery Validate to apply validation rules in the fields. All my fields have a common rule (required: true) but I couldn’t find a way to apply it all at once.…
-
1
votes1
answer181
viewsPick up values with jQuery
I have a following field, <input name="dados[<?= $i ?>][quantidade]" class="quantidade" type="text" value="<?= isset($dados['quantidade']) ? $dados['quantidade'] : '' ?>"…