PDA

View Full Version : Passing a value in NS4.75


Kim
06-25-2002, 07:34 PM
Hello,

This works fine in IE but not NS4.75 Where am I going wrong please. Thanks, Kim

<input type="image" src="images/buttons/odelete.gif" border="0" name="DeleteFromOrder1" onMouseDown="javascript:window.document.frmQty.recalc.value='no';">

<SCRIPT LANGUAGE=javascript id="recalc">
<!--
function reCalc()
{
var doCalc = window.document.frmQty.recalc.value;
if(doCalc != "no")
{
window.document.frmQty.recalc.value ="1";
}
}
//-->
</SCRIPT>

Kim
06-26-2002, 02:27 AM
Thank you Dave. I did some reading and found I could do it via much trickery but the form submit will be much simpler.

Regards,
Kim