Jquery Library Snippets


20 August, 2015   

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

07 March, 2013   

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

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:

jQuery code example to show content based on select option.

22 December, 2011   

MaxScript code example to load a library

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

14 February, 2017   

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

13 April, 2013   

Load and store classes for easy use and re-usability using advanced PHP object storing.

How to add jQuery and Snippet to your HTML document

An example of Strict Textmate Template

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

11 May, 2013   

Generate CAPTCHA images for form validation without any outside library's or plug-ins

28 March, 2011   

When you are writing dynamic link libraries and need to control the loading and unloading of a DLL, or if you want to initialize your DLL when it is loaded, you can have a function called DllMain do your initialization. Windows calls the DllMain function of a DLL in four instances: 1) When a process attaches the DLL 2) When a thread attaches...

24 August, 2011   

When you are writing dynamic link libraries and need to control the loading and unloading of a DLL, or if you want to initialize your DLL when it is loaded, you can have a function called DllMain do your initialization. Windows calls the DllMain function of a DLL in four instances: 1) When a process attaches the DLL 2) When a thread attaches...

26 January, 2013   

jQuery code example to open link in a new window

22 July, 2013   

It can be useful to be able to resize images using jQuery