In previous lessons, we have learned how to write jQuery commands one at a time. In actual fact, we can combine the jQuery commands or methods together, the process is called chaining. The selector is:
$(selector).method1.method2.method3...methodN;
or you can place them on seperate lines.
$(selector) .method1 .method2 .method3 . . .methodN;
To learn the details of chaining, we suggest you get a copy of JavaScript & jQuery Made Easy.
ISBN: 979-8637083176
Price: $30.00
AUTHOR: DR. LIEW VOON KIONG
Dear Friend, JavaScript Made Easy is an eBook written by the webmaster of our JavaScript Tutorial , Dr.Liew. It complements our free online tutorial by providing a complete tutorial for beginners. By reading this book ,you can:
Copyright©2008 Dr.Liew Voon Kiong. All rights reserved |Contact|Privacy Policy