CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 1999
    Posts
    1

    javascript not working in Netscape

    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?


  2. #2
    Join Date
    Sep 1999
    Location
    Sofia, Bulgaria
    Posts
    48

    Re: javascript not working in Netscape

    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


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured