Hi all! I'm just starting to learn jquery and javascript, as i need it for form validation. My question is: i copied the source of this jquery validation form the same as it was on the example page: My problem is that it is not working the same way at localhost, nor at cpanel hosting. Validation simply not happening (while on the example page it happens on the fly). I didn't modify anything in the example, so i am confused in here. Please help! Thanks for every answers!
It certainly works locally with Firefox. What browser are you using? Can you post what you copied? Something may have changed when it was saved.
Hi! I got the problem: The url to the validate plugin has changed (redirects to new url, but it seems that in that way jquery not working), but it is not mentioned on the example page: So that was the culprit! Changed the validate scripts url to the one mentioned above, and now everything works!
yes, but i'm still just testing functionality, and learning the basics. (and thought that if the example page works on jquery documentation, there has to be something serious problem on my end because the same source was not working at localhost)
your javascript shouldn't change you may need a supporting source file or link for some ajax and jquery. Check this javascript solution out for validation http://www.webcheatsheet.com/javascript/form_validation.php