I know you can do this, but every time I Google it I get how to select all elements of a certain tag.
So, e.g.:
alert($('#my-wrapper').someJSMethod());
{...}
<div id="my-wrapper"></div>
Would alert "DIV" actually. I'm selecting elements with jQuery by the way.