kingpoop
09-16-2003, 11:26 AM
Hello,
I am trying to perform an onClick in Netscapte 4.5, however, I have heard that NS4.5 does not support the onClick event.
I want to click on a hyperlink and submit a form using POST instead of GET.
Any help is greatly appreciated.
<form name="frmTest">
<a onClick="fnLineItem()">Some Link</a>
</form>
<script language="javascript">
<!--
function fnLineItem() {
document.forms[frmTest].method='post';
document.forms[frmTest].action='PO_StoreInfo.asp';
document.forms[frmTest].submit();
}
//-->
</script>
I am trying to perform an onClick in Netscapte 4.5, however, I have heard that NS4.5 does not support the onClick event.
I want to click on a hyperlink and submit a form using POST instead of GET.
Any help is greatly appreciated.
<form name="frmTest">
<a onClick="fnLineItem()">Some Link</a>
</form>
<script language="javascript">
<!--
function fnLineItem() {
document.forms[frmTest].method='post';
document.forms[frmTest].action='PO_StoreInfo.asp';
document.forms[frmTest].submit();
}
//-->
</script>