Forum Moderators: open
On my site, I have two iframes containing links.
If a user clicks one of these links, I would like to run a script.
This is what I have so far, but it doesn't seem to be working:
<script type="text/javascript">
document.getElementsByTagName("iframe").onfocus=function(){
...
}
</script>
Any ideas what I'm doing wrong?
Thanks.