View Single Post
Old 03-20-2005, 06:38 PM   #2 (permalink)
fitzjj
 
Ultra Techie

Join Date: Oct 2003

Posts: 544

fitzjj

Default

Java and JavaScript are two completely different things. This is JavaScript not Java! anyway...

Without the full source code i cannot run it and see if it works and i normally code Java not JavaScript so cannot garantee any of this solution, but...

Code:
if (Pass = 1234) {
should probably be:
Code:
if (Pass == 1234) {
You may also want to try putting " around the 1234

also in the body of your first two if statements there are no semicolons at the end of the line.
fitzjj is offline