ChrisMacPherson
Programmer
Hi All,
Yet another problem I'm having with netscape!
I'm trying to access a form from a menu which is inside a <div>. I am trying to change the value of the action, then submit the form. I am doing this from a javascript URL like so :
<a href="javascript:top.document.clientdetail.action='viewClientConDetail.php'; top.document.clientdetail.submit();">Contact Details</a>
clientdetail is the form name. (should I use ID?)
It works in both IE and Netscape6, but not in good old 4.7(havent you heard that before somwhere!!) Can anybody see the flaw in my code, as I have tried everything,
parent.document, document.forms['clientdetail'], etc.etc.etc.
Thanks for any help. Chris MacPherson
thedamager@hotmail.com
Bring on the new Browza's!!
Yet another problem I'm having with netscape!
I'm trying to access a form from a menu which is inside a <div>. I am trying to change the value of the action, then submit the form. I am doing this from a javascript URL like so :
<a href="javascript:top.document.clientdetail.action='viewClientConDetail.php'; top.document.clientdetail.submit();">Contact Details</a>
clientdetail is the form name. (should I use ID?)
It works in both IE and Netscape6, but not in good old 4.7(havent you heard that before somwhere!!) Can anybody see the flaw in my code, as I have tried everything,
parent.document, document.forms['clientdetail'], etc.etc.etc.
Thanks for any help. Chris MacPherson
thedamager@hotmail.com
Bring on the new Browza's!!