The following are cross platform and recommended event types which you can bind using JQuery:
Event Type
Description
blur
Occurs when the element loses focus
change
Occurs when the element changes
click
Occurs when a mouse click
dblclick
Occurs when a mouse double-click
error
Occurs when there is an error in loading or unloading etc.
focus
Occurs when the element gets focus
keydown
Occurs when key is pressed
keypress
Occurs when key is [...]
Following is the list of useful AJAX Methods:
Methods and Description
jQuery.ajax( options )
Load a remote page using an HTTP request.
jQuery.ajaxSetup( options )
Setup global settings for AJAX requests.
jQuery.get( url, [data], [callback], [type] )
Load a remote page using an HTTP GET request.
jQuery.getJSON( url, [data], [callback] )
Load JSON data using an HTTP GET request.
jQuery.getScript( url, [callback] )
Loads and executes [...]
Following table lists down all the methods which you can use to play with CSS properties:
Method
Description
css( name )
Return a style property on the first matched element.
css( name, value )
Set a single style property to a value on all matched elements.
css( properties )
Set a key/value object as style properties to all matched elements.
height( val )
Set the [...]
Following table lists down all the important methods to create different kind of effects:
Methods and Description
animate( params, [duration, easing, callback] )
A function for making custom animations.
animate( params, options )
A function for making custom animations.
fadeIn( speed, [callback] )
Fade in all matched elements by adjusting their opacity and firing an optional callback after completion.
fadeOut( speed, [callback] )
Fade [...]
Following table lists down all the methods which you can use to manipulate DOM elements:
Method
Description
after( content )
Insert content after each of the matched elements.
append( content )
Append content to the inside of every matched element.
appendTo( selector )
Append all of the matched elements to another, specified, set of elements.
before( content )
Insert content before each of the matched [...]
Following table lists down few useful methods which you can use to manipulate attributes and properties:
Methods
Description
attr( properties )
Set a key/value object as properties to all matched elements.
attr( key, fn )
Set a single property to a computed value, on all matched elements.
removeAttr( name )
Remove an attribute from each of the matched elements.
hasClass( class )
Returns true if [...]
This is a part of a longer blog post by Tutorials Point.
jQuery – Selectors
Following table lists down few basic selectors and explains them with examples.
Selector
Description
Name
Selects all elements which match with the given element Name.
#ID
Selects a single element which matches with the given ID
.Class
Selects all elements which match with the given Class.
Universal (*)
Selects all elements available [...]
I was looking for some example jQuery code and i came over this blog post. Found it interesting so i would like to share it with you.
Click here to read the entire post
Query Visual Cheat Sheet is an useful and practical reference to jQuery 1.3 for web designers and developer.
Click here for the entire article
Introduction
jQuery is without a doubt an incredible addition to the JavaScript language. Don't get me wrong though,
I have absolutely no qualms with prototype or any of the other libraries out there.
jQuery just makes sense to me, so I use it often. What matters at the end of the day is that there is a system [...]