wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes Validation message not working same for Input Text and Text Area 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 "Validation message not working same for Input Text and Text Area" Watch "Validation message not working same for Input Text and Text Area" New topic
Author

Validation message not working same for Input Text and Text Area

Sam Saha
Ranch Hand

Joined: Jan 23, 2010
Posts: 104
I have three fields, one is drop down, one is input text and another is text area. I am doing jquery validation on input text and text area such that when we select the “Yes” option from the drop down and not entering anything in the input text and text area I am doing the making Input text and text area to red background and showing validation messages on the top of the page.

Now the issue is when I select the value from “Yes” to “No” or “default” the color of the Input text changing from red goes away and the validation message also goes away, which is correct. But the background of text area still red and the validation messages does not go away when we select drop down value from “Yes” to “No”. I want the text area works exactly same like Input text.

I would appreciate if someone can help me out to resolve this.



 
Don't get me started about those stupid light bulbs.
 
subject: Validation message not working same for Input Text and Text Area
 
Similar Threads
Clear validation message dynamically for the Datepicker
Display Validation Error Message
Datepicker Validation
Enable/Disable a Button