wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes jQuery form validation not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "jQuery form validation not working" Watch "jQuery form validation not working" New topic
Author

jQuery form validation not working

achuthan mukundarajan
Ranch Hand

Joined: May 30, 2012
Posts: 79
I needed to use jQuery for a project but had no idea what it is. So i followed a online tutorial and customized it according to my need .But when i run the page there is no validation. The code is given below(for a JSP page):



I havent worked with jquery or javascript before . So i may be wrong in using the right scripts. Please help
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60752
    
  65

First step is to open up the JavaScript console on your browser and see if there are any errors messages being issued.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
achuthan mukundarajan
Ranch Hand

Joined: May 30, 2012
Posts: 79
I tried doing that initially there was an error. But when i added an additional script the error went away. But the validation still doesn't occur.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60752
    
  65

OK, now start setting some breakpoints.
achuthan mukundarajan
Ranch Hand

Joined: May 30, 2012
Posts: 79
Bear Bibeault wrote:OK, now start setting some breakpoints.


Where do you think are the probable places where errors can occour. It is a bit lengthy piece of code and i dont know much about javascript.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jQuery form validation not working
 
Similar Threads
JSP not calling JS file funtion
Problem with jquery.validate.js plugin selectors
javascript to jsp(i am sorry to post it once again please see the code i have everything ut does not
how to transfer data from javascript to jsp
how to get input from javascript and pass to servlet