KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
How can I attach a click event handler to an element inside an iframe? Here's what I tried and doesn't work: $("#parent iframe").contents().find("a").live("click", function () { alert ("test"); return false; }); The iframe is on the same domain.
Tags (comma-separated)
Save Edits
Cancel