how to hightlight a div if the page.isvalid=false.

Posted by Nimesh on Stack Overflow See other posts from Stack Overflow or by Nimesh
Published on 2010-05-21T11:17:38Z Indexed on 2010/05/21 11:20 UTC
Read the original article Hit count: 208

Filed under:
|
|

I wanna high light particular div when the page.isvalid=false. on the pageload i am able to get display the error message. But the issue is that i am not able to highlight the control which is required.

I have a js function which sets the error class to the div. Its working fine when i click on a button. On the page load i wanna set this as well.

can i do this using some jquery??? or something other way..

Please let me know how to do this.... share your ideas....

Thanks

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about JavaScript