KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a name attribute assigned to a hyperlink. When I do the following with jQuery link_name does not return anything. Am I doing something wrong? $("body").delegate("a", "click", function (event) { var link_name = $(this).attr('name'); alert(link_name);
Tags (comma-separated)
Save Edits
Cancel