tagged [jquery]

jQuery DatePicker with today as maxDate

jQuery DatePicker with today as maxDate I would like to set today's date as a maxdate for jQuery datepicker in order to prevent users from picking date greater than today's date

Parse RSS with jQuery

Parse RSS with jQuery I want to use jQuery to parse RSS feeds. Can this be done with the base jQuery library out of the box or will I need to use a plugin?

12 Jul at 04:34

jquery 3.0 url.indexOf error

jquery 3.0 url.indexOf error I am getting following error from jQuery once it has been updated to `v3.0.0`. `jquery.js:9612 Uncaught TypeError: url.indexOf is not a function` Any Idea why?

20 Nov at 09:15

jQuery check if an input is type checkbox?

jQuery check if an input is type checkbox? I'd like to find out if an input is a checkbox or not, and the following doesn't work: Thank you once again!

28 Sep at 18:46

How do I pre-populate a jQuery Datepicker textbox with today's date?

How do I pre-populate a jQuery Datepicker textbox with today's date? I have a very simple jQuery Datepicker calendar: and of course in the HTML... Today's date is nicely highlighted for the user when ...

How to delete a cookie using jQuery?

How to delete a cookie using jQuery? I want to use jQuery to delete cookies; I have tried this: But when I refresh the page, the cookie is still there: Why?

21 Oct at 05:47

Get second child using jQuery

Get second child using jQuery returns I want to retrieve the second `td` from the `$(t)` object. I searched for a solution but nothing worked for me. Any idea how to get the second element?

22 Jan at 09:32

JQuery show and hide div on mouse click (animate)

JQuery show and hide div on mouse click (animate) This is my HTML code: And I want to show `.menu` on click on `#showmenu` sliding from left to right (with animate). On click again on `#showmenu` or a...

JQuery accordion - unbind click event

JQuery accordion - unbind click event I am writing a form wizard using JQuery's [accordion module](http://bassistance.de/jquery-plugins/jquery-plugin-accordion/). The problem is I want to override any...

jQuery UI autocomplete with item and id

jQuery UI autocomplete with item and id I have the following script which works with a 1 dimensional array. Is it possible to get this to work with a 2 dimensional array? Then whichever item is select...

jQuery Date Picker - disable past dates

jQuery Date Picker - disable past dates I am trying to have a date Range select using the UI date picker. in the from/to field people should not be able to view or select dates previous to the present...

How to use source: function()... and AJAX in JQuery UI autocomplete

How to use source: function()... and AJAX in JQuery UI autocomplete I need a little bit help with JQuery UI Autocomplete. I want my textfield (`.suggest-user`) display names from an AJAX request. This...

Make JQuery UI Dialog automatically grow or shrink to fit its contents

Make JQuery UI Dialog automatically grow or shrink to fit its contents I have a JQuery UI dialog popup that displays a form. By selecting certain options on the form new options will appear in the for...

8 May at 00:5

jQuery: select all elements of a given class, except for a particular Id

jQuery: select all elements of a given class, except for a particular Id This is probably pretty simple. I want to select all elements of a given class `thisClass`, except where the id is `thisId`. i....

21 Mar at 21:44

jQuery UI accordion that keeps multiple sections open?

jQuery UI accordion that keeps multiple sections open? I may be an idiot, but how do you keep multiple sections in jQuery UI's accordion open? The demos all have only one open at a time... I'm looking...

21 Jun at 10:57

jQuery Scroll To bottom of the page

jQuery Scroll To bottom of the page After my page is done loading. I want jQUery to nicely scroll to the bottom of the page, animating quickly, not a snap/jolt. Do iI need a plugin like `ScrollTo` for...

4 Aug at 07:21

Combine multiple JavaScript files into one JS file

Combine multiple JavaScript files into one JS file I am using jquery in my web application and I need to load more jquery script files into a single page. Google suggested I combine all the jquery scr...

27 Aug at 04:4

Toggle Checkboxes on/off

Toggle Checkboxes on/off I have the following: I'd like the `id="select-all-teammembers"` when clicked to toggle between checked and unchecked. Ideas? that aren't dozens of lines of code?

How to wait for the 'end' of 'resize' event and only then perform an action?

How to wait for the 'end' of 'resize' event and only then perform an action? So I currently use something like: But this gets called many times while resizing process goes on. Is it possible to catch ...

How to close jQuery Dialog within the dialog?

How to close jQuery Dialog within the dialog? How to close jQuery Dialog within the dialog without using the close button? Inside the Dialog is a simple form request. If a successful submission occurs...

24 Feb at 21:7

jQuery get input value after keypress

jQuery get input value after keypress I have the following function: For some reason, for the first keypress, I'm getting an empty string t

19 Aug at 09:40

JQuery Select2 - How to select all options

JQuery Select2 - How to select all options I'm using jQuery select2 multi select dropdown. I need to select all options in a dropdown from code. Basically there is a Select All checkbox on which this ...

24 Nov at 12:43

jQuery UI datepicker input class

jQuery UI datepicker input class I'm quite fresh on jQuery, and I've just implemented jQuery + jQuery UI, but on the datepicker widget it seems like the classes added on the inputs from before are rem...

jQuery OR Selector?

jQuery OR Selector? I am wondering if there is a way to have "OR" logic in jQuery selectors. For example, I know an element is either a descendant of an element with class classA or classB, and I want...

29 Dec at 00:57

jQuery validation plugin: accept only alphabetical characters?

jQuery validation plugin: accept only alphabetical characters? I'd like to use jQuery's validation plugin to validate a field that only accepts alphabetical characters, but there doesn't seem to be a ...

21 Oct at 22:45