• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Validation message not working same for Input Text and Text Area

 
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
reply
    Bookmark Topic Watch Topic
  • New Topic