如何添加到外部iframe的链接?将链接添加到iframe
<iframe id='abcdef' name='abcdef' src='http://externaldomain.com?id=99' framespacing='0' frameborder='no' scrolling='no' width='960' height='60'>
<a href='http://anotherexternaldomain.com' target='_blank'>
<img src='http://externaldomain.com?pic=99' border='0' alt='' />
</a>
</iframe>
这是放入我的网站的外部广告。我想一个链接,以便追踪点击
的印象和号码添加到这个iframe是有没有办法使用jQuery也许使用?谢谢!
你可能会发现这个有用的:http://stackoverflow.com/questions/2381336/detect-click-into-iframe-using-javascript – Igor
谢谢伊戈尔,我会看看在这一个 –