Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Re: Can't get script to work properly, Please Help


Message #1 by "Oleg" <olegkap@a...> on Mon, 12 Aug 2002 10:43:14 -0400
I would change your form name.
It not good to name form as "form"
Better "myform" or some other name then "form".

Oleg.

-----Original Message-----
From: James Brown [mailto:wussap25@y...] 
Sent: Friday, August 09, 2002 6:33 PM
To: javascript
Subject: [javascript] Re: Can't get script to work poperly, Please Help

Hello im new to javascript too so what im going to say may be of no use,

but i think that you are missing the { } after the else if statements,
not 
sure if you need them thoug...havent seen a script so big in my life :).

else if (cuft >= 2800) 
{
form.unit.value = "20 x 30";
}

---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20


  Return to Index