Jquery Validation Watermark

Posted by Sandeep on Stack Overflow See other posts from Stack Overflow or by Sandeep
Published on 2010-06-10T10:02:49Z Indexed on 2010/06/10 12:02 UTC
Read the original article Hit count: 282

I am using jQuery validation plugin and Watermark plugin. The problem I am facing is when i applied a watermark to any input field for which validation is also applied then validations are failing

For Example:

<input type=text name=myinput class="required">

and I applied a watermark for this field in document ready function:

$("#myinput ").Watermark("myinput ");

This is the sample case where validation is failing as value=myinput is set for input field which is watermarked.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about validation