[jQuery] How do I check a parent element?
[jQuery] How do I check a parent element?
I want to check if a parent element is <h1>. How do I do that? The
best I know of now is to add a class to these and test hasClass() for
it.
Topic Participants
thomasmallen
jason.huck