letchev
09-01-2010, 02:29 AM
Hello,
I want add an onclick link from an iFrame to a form field on the parent. After to ba placed on the form field, clicking on the link a new page will be open on the iframe. I am trying this:
<form name=formName>
<iframe name=frameName src="<a href=http://www.google.com onclick="parent.document.forms['formName'].elements['fieldName'].value = 'do you right';" return false;">Click Here To Get Done Right</a>
" width="800" height="400" ></iframe><br><br>
<input type="text" id="fieldname" size="95" name="t2">
</form>
letchev:confused:
I want add an onclick link from an iFrame to a form field on the parent. After to ba placed on the form field, clicking on the link a new page will be open on the iframe. I am trying this:
<form name=formName>
<iframe name=frameName src="<a href=http://www.google.com onclick="parent.document.forms['formName'].elements['fieldName'].value = 'do you right';" return false;">Click Here To Get Done Right</a>
" width="800" height="400" ></iframe><br><br>
<input type="text" id="fieldname" size="95" name="t2">
</form>
letchev:confused: