I\'m matching ASP.Net generated elements by ID name, but I have some elements which may render as text boxes or labels depending on the page context. I need to figure out wh
First time I've answered my own question. After a little more experimentation:
$("[id$=" + endOfIdToMatch + "]").each(function () { alert($(this).attr(tagName)); });
works!