I wish to make a link or button in a page that changes the page the iframe is on. It would be a local page:
idreesinc.com/iframe.html
and you can see what I have already here:
idreesinc.com/research
Help would be much appreciated as i have been looking for an answer for ages. Thanks!
You can simply make an link with its target to the iframe name as follows:
Your link in the parent will be:
I'm using jQuery.
$("#mybutton").click(function(){$("#myiframe").attr("src", "http://www.yahoo.com/")});
http://jsfiddle.net/ws2hm/1/