<div id="src">it will show in 2nd frame</div>
<button onclick="isi()" value="ff">fdf</button>
<script>
function isi(){
 var iframe = document.getElementById('target'),
    iframedoc = iframe.contentDocument || iframe.contentWindow.document;
 iframedoc.body.innerHTML =  document.getElementById('src').innerHTML;
}
</script>
<iframe id="frame1" name="f1" align="left" width="200px" height="500px" src="data:text/html;charset=utf-8,%3Chtml%3E%3Cbody%3Efoo%3C/body%3E%3C/html%3E" ></iframe>
<iframe id="target" />
Redirect without subfolderit will show in 2nd frame
 
 
 
0 komentar:
Posting Komentar