IFRAME – Command it to Change

[Total: 0    Average: 0/5]

This will show you how to use javascript to change the iframe content.

Head Code:

function doIt()

Body Code:

<iframe name=ifr></iframe>
<form name=f1>
<input type=text name=link value="http://www.js-examples.com/">
<a href='javascript:doIt()'>Click Me</a>

Times Viewed: 11

Leave a Reply

Your email address will not be published. Required fields are marked *