Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

client side validation in jsp

 
punitha purusothaman
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I created the jsp in eclipse for the screen design..in that i created the editable drop down where i can type as well as select...here i want to include the validation to accept only character using java script....
i implemented that in onblur and onkeyup events..but its not working....can any one help at which event i ve to include the java script function to validate the editable drop down..
 
Ashwini Kashyap
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Punitha,

For drop down, you need to make use of onchange event.

Thanks and Regards,
Ashwini Kashyap | akashyap@infocepts.com | www.infocepts.com
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic