I am trying to use iframes in a web page and I am trying to use a fucntion to load the new page into the iframe. how do I call the page from a linked tab and load it into the new frame.
Code:
function load(){
document.getElementByID('frame').style.display='block';
document.getElementById('frame').src = document.getElementById('a');
}
</script>
Comment