linq.OfTagType

Gets the elements from the array that have a specified tagName attribute

Overloads

  • Array OfTagType (array)

void OfTagType (array)

Gets the elements from the array that have a specified tagName attribute

Example

var somethings = $(".something");
//This would return the DIV elements that were processed by the above
//jQuery selector.  The choice in using jQuery here was for the brevity of
//the example.  Typically, OfTagType would be used when you don't have
//access to a library like jQuery.
somethings.OfTagType("div");

Last edited Sep 23, 2011 at 7:46 AM by mlorbetske, version 1

Comments

No comments yet.