Borcherding
Tuesday, 27 August 2013
Detect element tag name by its class
Detect element tag name by its class
I would like to know if there is a way to get the name of a element by its
class or id.
for exemple <input class="some-class" type="text" /> returns "input"
Thanks.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment