Think of this as a perl function:
Onclick="return this.value='Please Wait...';ValidateAll2()">
which translates to:
return this.value="Please Wait...";
ValidateAll2();
}See why ValidateAll2 will never be run? ;)
Try:
onclick="this.value='Please Wait...'; return ValidateAll2();"
Cheers,
Alex
--
Gossamer Threads Inc.
Onclick="return this.value='Please Wait...';ValidateAll2()">
which translates to:
Code:
sub OnClick { return this.value="Please Wait...";
ValidateAll2();
}
Try:
onclick="this.value='Please Wait...'; return ValidateAll2();"
Cheers,
Alex
--
Gossamer Threads Inc.