aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes jQuery tabs form validation is failing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "jQuery tabs form validation is failing" Watch "jQuery tabs form validation is failing" New topic
Author

jQuery tabs form validation is failing

mallikarjun dontamsetti
Ranch Hand

Joined: Mar 18, 2011
Posts: 242

Hi i have a jsp which has many fields as required and we developed som script(maintenanceedit.js) for this like


we cll it in our jsp page onsubmit mehode
My jsp is


as the form goes long we decided to use tabs and added some line in jsp like mentioned above code now am getting a single form in two tabs but the validation is failing added code in script(in head part)


Why the validation getting failed
mallikarjun dontamsetti
Ranch Hand

Joined: Mar 18, 2011
Posts: 242

it is not actually code problem the code is validating correctly but the error message is not witting in to jsp page why
FYI: if i give alert box instead of this

it is working fine. why the message in innerHTML not working
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60046
    
  65

If you are using jQuery, why would you even write a statement like that instead of using the jQuery .html() method?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jQuery tabs form validation is failing
 
Similar Threads
spaces while populating using s:iterator
Doubts in jsp
set values in a table from other
have problem with multiple forms on a jsp
help with validation/ 2 functions on submit.