Page 1 of 1

jQuery form validation issue

Posted: Tue Mar 31, 2009 9:16 pm
by cohq82
I would like to use similar code as this http://www.willjessup.com/sandbox/jquer ... idate.html

However, when I save the page, the username and password fields have no validation. Do you know why? Going through the website url above is OK though. This is weird!

Re: jQuery form validation issue

Posted: Wed Apr 01, 2009 1:56 am
by jaoudestudios
The jquery is in an external js file

Re: jQuery form validation issue

Posted: Wed Apr 01, 2009 2:30 am
by cohq82
I know that so I download each of the files. Still same problem. Any clue? Thanks!

Re: jQuery form validation issue

Posted: Wed Apr 01, 2009 3:48 am
by jaoudestudios
Do you use Firefox? check that you have the relevant paths correct. i.e. all files are included.

Re: jQuery form validation issue

Posted: Wed Apr 01, 2009 4:06 pm
by cohq82
Yes, I used FF and I download all 2 files js stored locally. Still not working. Did you try?

Code: Select all

<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="val.js"></script>