How do I use the JavaScript DOM to apply onclick events to links inside of an iframe?
Here\'s what I\'m trying that isn\'t working:
It is possible for an iFrame to source content from another website on a different domain.
Being able to access content on other domains would represent a security vulnerability to the user and so it is not possible to do this via Javascript.
For this reason, you can not attach events in your page to content within an iFrame.