Add elements by .add() with jQuery API
Submitted by tuan.norlida on Tue, 05/25/2010 - 10:17
The .add(elements) method use to add more elements, matched by the given expression, to the set of matched elements and it will always be returned in document order (rather than a simple concatenation).
Below is the sample of code showing how the method works;
[img_assist|nid=954|title=add|desc=|link=none|align=left|width=579|height=188]
Ref: http://api.jquery.com/add/
- tuan.norlida's blog
- Login to post comments
Copyright © 2008-2011