KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I googled and googled and I concluded that it's very hard to get answer on my own. I am trying to use jquery or JavaScript to get a property of clicked element. I can use "this.hash" for example - it returns hash value I presume. Now I would like to get name of the class of clicked element. Is it even possible? How? And where would I find this kind of information? jQuery documentation? - All I can find is methods and plugins, no properties.. if its there - please provide me with link. JavaScript documentation? - is there even one comprehensive one? again please a link. DOM documentation? - the one on W3C or where (link appreciated). And what is this.hash ? - DOM JavaScript or jQuery?
Tags (comma-separated)
Save Edits
Cancel