var iframe = document.getElementById('IFRAME ID'); // Get the iframe using it's ID iframe .src = '//Set URL here';
<iframe id="myframe"></iframe> <a href="url" target="frameId">pageName</a>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)