Have small requirement, Have one iframe and followed by 3 buttons. Once we click on button1 the url should be displayed in the iframe, same as second button. Here is my code,Could you please help.
function testCoverage(){
window.frames['idIfrm'].document.location.href = 'http://google.com';
}
function testCoverage1(){
window.frames['idIfrm'].document.location.href = 'http://yahoo.com';
}
Here is JsFiddle
