google-code-export / jquery-watermark

Automatically exported from code.google.com/p/jquery-watermark
1 stars 0 forks source link

jquery-watermark is not working properly in IE7, IE8 and IE9 #91

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I have the latest version of jQuery and jquery-watermark included.
2. I set my watermarks using the name attribute as selector of the input fields 
that I want to have watermarks in it. For example:
$('input[name="xXXXX"]').watermark('xxxxxxxxxxxx');
I use in on a table with multiple input fields some of which have values 
preloaded from a database.
3. Everything works just fine in Chrome and FF.

What is the expected output? What do you see instead?
In IE 7,8,9 however jquery-watermark is overwriting the values in the input 
fields. So I am getting the watermark text instead of the text which should be 
there(the one generated by my web application, which is shown in FF and Chrome).
After form submission I get blank fields(watermarks are cleared properly).

If jquery-watermark is removed the values which should be there are shown...

What version of the product are you using? On what operating system?
jquery-watermark 3.1.4 jQuery 1.8.11
GlassFish 3.1.2.2 running on Windows Server 2008 R2 Enterprise

Original issue reported on code.google.com by anton.tz...@gmail.com on 4 Sep 2012 at 9:34

GoogleCodeExporter commented 9 years ago
There is no evidence that the plugin is not working with IE 7,8,9.  Read the 
documentation for help with proper configuration in order to avoid common 
problems.

Original comment by t...@speednet.biz on 5 Sep 2012 at 4:28

GoogleCodeExporter commented 9 years ago
Same issue found here.

<input class="state" type="text" id="newedustate" />
<input type="submit" id="btnAddEdu" value="Save" />

script...
$("#newedustate").watermark('Stato');

Using IE on submit the forms submits the watermark as value.

Original comment by elf...@gmail.com on 17 Dec 2012 at 8:23