via name:
window.nomeIframe.location.replace(url)

via id:
document.getElementById('idIframe').contentWindow. location.replace(url)

il resto e' molto confuso