I have an iframe in my page. I would like its source to change to another page when a user clicks on a block of text in the main page.
<div onClick="I.src='2.htm'; return true;">Click here to change page in IFRAME!</div>
<iframe name="I" src="1.htm"></iframe>
doesnt work. help please...