Help With Javascript and HTML

  • Thread starter Thread starter Blake1710
  • Start date Start date
  • Views Views 1,463
  • Replies Replies 3

Blake1710

Well-Known Member
Member
Joined
Dec 24, 2008
Messages
185
Reaction score
0
Trophies
1
Age
31
Location
New South Wales, Australia
Website
Visit site
XP
199
Country
Hey

Doing javascript at school at the moment and i'm stuck at this exercise. Its supposed to validate a form, so if step 1 is incomplete an alert will tell you and the same for step 2. Only problem is it still pops up when step 1 is complete, and the popup for step 2 will not show. Help would be appreciated. I've already asked the teacher and he isn't sure either.

Pastebin Link
 
There were many errors, I'll details each of them, tell what I've change, and submit a corrected version.

[Line 66]
if (validateText(pizzaForm) == true);
 
Good ol' "js-fifteen.html" file. Yeah, I made that exact same page about 3 years ago for my Web Design class. Fun stuff. Except not really.
 

Site & Scene News

Popular threads in this forum