Hey guys,
I have two files:
1.) index.php with a form
2.) validation.js with a validation function
ex.) validate(){blah blah...}
I want to call this function from the index page, but every time I call it like this: if(validate()==true), then I get an error (validate function undefined!?)
How do I properly call a js function from another file? Thanks.