KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I need to generate unique css selector for elements. Particularly, I have onclick event handler that should remember what target element was clicked and send this info to my server. Is there a way to do it without doing DOM modifications? P.S. my javascript code supposed to be run on different 3-rd party websites so I can't make any assumptions about html.
Tags (comma-separated)
Save Edits
Cancel