Click to See Complete Forum and Search --> : javascript not working in Netscape


jscharlton
October 12th, 1999, 04:00 PM
I am using an applet that I got off of javascripts.com. It seems to be working in IE and AOL but not netscape. I think it has something to do with a command that Netscape does not recognize. The URL is http://www.capefearyacht.com/javaorder1.html. I want to be able to let someone choose the checkbox...and then be able to total their order. Any suggestions?

Leon
October 13th, 1999, 08:21 AM
hi

It is running almost fine on Netscape 4.7, just there is no reset ot the price field when a checkbox
is unchecked. Take a look at this:

<INPUT TYPE="checkbox" NAME="Quantity1" VALUE="10" onClick="order.Subtotal1.value=(this.checked)?subtotal(eval(order.Quantity1.value),eval(order.Price1.value)):'0';">

Besides I advice you to forget the eval function.
U don't need to use it everywhere ;)

Leon
http://people.bulgaria.com/vleonkev