The iframe and the parent are on the same domain.
This is how I would do it normally:
$('a').click(function(e){
var href = $(this).attr("href");
alert(href);
});
How would I detect in the iframe?
The iframe and the parent are on the same domain.
This is how I would do it normally:
$('a').click(function(e){
var href = $(this).attr("href");
alert(href);
});
How would I detect in the iframe?