Posts Tagged ‘jQuery’
05
Apr

jQuery has it’s own functions to handle browser events.

The resize() function will call when the browser resized. The usage is given below:

jQuery(window).resize(function() {
jQuery('#para1').append('<div>Window Resized.</div>');
});

Scroll() handles the scroll event. Usage given below:

$('#para1').scroll(function() {
$('#result').append('<div>Scroll event called.</div>');
});

, , ,

25
Mar

jQuery.inArray( value, array )

The jQuery inArray() function searches the given value is there in the array.

Example

Save the two files inside a folder in the www directory of Wamp Server. Also include the JQuery file.
Run the HTML file, give the string and see the output.

, , ,

12
Feb

Besides W3Schools one site with a really helpful tutorial for jQuery that any beginner can browse through easily is

the Web Designer Wall.

http://www.webdesignerwall.com/tutorials/jquery-tutorials-for-designers/

This tutorial is not just clear and to-the-point, it is also very bright and bold in presentation. It has 10 really helpful visual tutorials on jQuery in an easy to understand, user-friendly format.

Having a tough time with jQuery? This is your perfect solution!

P.S: Before you go here, make sure you have done your home work well and know your JavaScript and CSS well… Good Luck!

, , ,