How to make javascript link target to my iframe?
- by GanChinHock.com
I have a iframe and there is a javascript function in it. Basically, I want to create an anchor tag to call the function and activate it in my iframe. Do you have any idea?
<p><a href="javascript:document.body.contentEditable='true'; document.designMode='on'; void 0" target="test">Edit Google</a></p>
<iframe name="test" src="http://www.google.com"></iframe>
It is not working. Any idea?