Thursday, November 18, 2010

Element (Tag)

To select all those elements that have Tag specified in as Tag_Name. It is equalient to getElementsByTagName() function in JavaScript.
Examples
$('div') selects all elements with a tag name of div of the page

$('em') selects all elements with a tag name of em of the page

No comments:

Post a Comment