How can I set a traget to top for a link within an iframe?
- by digitup
in my code for index.html I use jQuery and have a link with id #button3.
I have used in index.html
$('#button3 a').attr({
target: '_top'
});
When I call the index.html from an iframe as a src, the page opens in _self.
I have tried with _blank and still when clicking on the a link it doesn't open on a new page.
Any tips?