| Welcome to WebmasterWorld Guest from 18.104.22.168 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Pubcon Platinum Sponsor 2014|
Someone please explain - why do I get a syntax error for the line where the else statement is?
just a simple script to check if a couple form fields are empty
z = document.PersonalChange;
if ((z.EmployeeName.value == "") ¦¦ (z.PayrollNumber.value == ""));
alert('You need to enter your name');
--for the form I have....
<form method=post action="success.html" name="PersonalChange" onSubmit="return Check();">
but i get an error before I get a chance to execute the form
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved