window.parent.fom not working in Mozilla firefox
-
Hi all, i am using iframe in a form and on the source file of iframe, i have used window.parent.fom in javascript.. It is working fine in IE but not working in mozilla firefox... Please help.... here is the code... on editor_loader.php <!-- function Validate_content(form) { if (window.parent.contentform.navig.value == "") { alert("Please mention value for navigation link name"); window.parent.contentform.navig.focus(); return; } } --> Thanks in advance for your help. Suman Singh
-
Hi all, i am using iframe in a form and on the source file of iframe, i have used window.parent.fom in javascript.. It is working fine in IE but not working in mozilla firefox... Please help.... here is the code... on editor_loader.php <!-- function Validate_content(form) { if (window.parent.contentform.navig.value == "") { alert("Please mention value for navigation link name"); window.parent.contentform.navig.focus(); return; } } --> Thanks in advance for your help. Suman Singh
Try:
window.parent.document.forms["contentform"].elements["navig"].value
orwindow.parent.document.getElementById("navig").value
instead.►►►
---- This is not helping me at all What you are doing here In the name of God and Love It's the distribution of fear...
-
Try:
window.parent.document.forms["contentform"].elements["navig"].value
orwindow.parent.document.getElementById("navig").value
instead.►►►
---- This is not helping me at all What you are doing here In the name of God and Love It's the distribution of fear...
Thanks a ton... It worked....