Posted on: 10/31/2014 6:37:12 AM | Views : 578

Hi,
I have used a Jquery watermark to display text in the textboxes. The problem is that, when I fill the data in textboxes and without  checking the terms and conditions checbox. The value in the textbox gets disappeared and the watermark text again comes. But when I click on the textbox again, the same value i can see. How is it happening. Please see my jquery code and HTMl for your reference:
<script src="../js/WaterMark.min.js" type="text/javascript"></script> <script type="text/javascript"> $(function () { $("[id*=txtFirstName], [id*=txtEmail],[id*=txtAccountNumber], [id*=txtContactNumber],[id*=txtFirstName1], [id*=txtEmail1], [id*=txtContactNumber1], [id*=txtContactNumber], [id*=txtFirstName2], [id*=txtEmail2], [id*=txtContactNumber2], [id*=txtFirstName3], [id*=txtEmail3], [id*=txtContactNumber3]").WaterMark(); }); </script> HTML for t ...

Go to the complete details ...