jQuery form validation issue

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
cohq82
Forum Commoner
Posts: 43
Joined: Mon Apr 21, 2008 8:38 pm

jQuery form validation issue

Post 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!
User avatar
jaoudestudios
DevNet Resident
Posts: 1483
Joined: Wed Jun 18, 2008 8:32 am
Location: Surrey

Re: jQuery form validation issue

Post by jaoudestudios »

The jquery is in an external js file
cohq82
Forum Commoner
Posts: 43
Joined: Mon Apr 21, 2008 8:38 pm

Re: jQuery form validation issue

Post by cohq82 »

I know that so I download each of the files. Still same problem. Any clue? Thanks!
User avatar
jaoudestudios
DevNet Resident
Posts: 1483
Joined: Wed Jun 18, 2008 8:32 am
Location: Surrey

Re: jQuery form validation issue

Post by jaoudestudios »

Do you use Firefox? check that you have the relevant paths correct. i.e. all files are included.
cohq82
Forum Commoner
Posts: 43
Joined: Mon Apr 21, 2008 8:38 pm

Re: jQuery form validation issue

Post 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>
Post Reply