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
you could also use something like this:
if ($(this).is('input:checkbox'))
replace "this" with whatever instance you need and 'checkbox' with whatever input type you need.