Jquery Checkbox Snippets

13 February, 2011   

Check if Checkbox is Checked

06 August, 2011   

#foo doesn't reference any particular element, it's there purely to prevent browsers from implementing the later selectors if it doesn't understand that (since most browsers will drop the entire selector if any part of it fails).

07 March, 2013   

This simple and handy jQuery filter return a single random item from a selection of items. Credit to Waldek Mastykarz

10 May, 2012   

CSS code for custom radio buttons

26 November, 2011   

In jQuery $ is an alias for jQuery, so you can use jQuery() for accessing the jQuery methods. The following code example shows how you can use other libraries with jQuery:

09 September, 2014   

Simple Javascript snippet that lets you toggle a group of checkboxes on or off at the same time. This is the format for your HTML form.

jQuery code example to show content based on select option.

22 September, 2016   

A short javascript function to toggle checkboxes

Example shown here how to preload the images with jquery in WordPress.

20 August, 2015   

Basic setup code for jQuery, linking to Google APIs for the jQuery library.

15 September, 2012   

This will perform the action of deleting many files.

08 February, 2011   

Example Form Markup

14 February, 2017   

jQuery doesn't really have an .hasAttr() function. You might assume that it does, but alas, it does not.

How to add jQuery and Snippet to your HTML document

04 January, 2014   

Example shows how to set Interval and set Timeout in jQuery

Code snippet to remove class after delay in jQuery.

jQuery example code for extract hyperlinks with specific href

An example code using jQuery Auto Image Scroller

jQuery example code to add image to browser cache

21 December, 2013   

Great page for testing the style guide for a website.