By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,568 Members | 1,196 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,568 IT Pros & Developers. It's quick & easy.

validator is not defined

P: 1
Right. Here is the 460 line Javascript form validator, in the header:

http://www.roboraiders.com/form_validator.js

On the page that the application is on, I am calling the function via this button code:

Expand|Select|Wrap|Line Numbers
  1. <input type="button" value="Continue..."
  2. onClick="validator()">
Firefox continually returns an error of "validator is not defined". HELP!
Sep 15 '06 #1
Share this Question
Share on Google+
1 Reply


acoder
Expert Mod 15k+
P: 16,027
This could be caused by a JavaScript error in the validator() function, e.g. the function has not been properly closed - check the braces.
Jun 8 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.