mathiasbynens / jquery-placeholder

A jQuery plugin that enables HTML5 placeholder behavior for browsers that aren’t trying hard enough yet
https://mths.be/placeholder
MIT License
3.98k stars 1.34k forks source link

IE8 Password placeholder becomes text. #196

Closed exussum12 closed 9 years ago

exussum12 commented 10 years ago

jsfiddle: http://jsfiddle.net/PPRa3/

The above JS fiddle shows a basic case of the problem im having. It also uses parsley.js.

To recreate the problem. Press "Get Started" without filling in any form data, There should be some validation at the top (saying passwords etc dont match). When clicking in to edit password, Its now a text box with the value Password* rather than a placeholder.

Im not exactly sure what the conflict is. To test in IE 8 im using Moden.ie's VM IE8 - Win 7

exussum12 commented 10 years ago

as a note, The above JS fiddle link doesnt work in IE 8, Use the fill screen version http://jsfiddle.net/PPRa3/embedded/result/

exussum12 commented 10 years ago

Possibly related to #191 though we are validating in different ways

spencer613 commented 10 years ago

i also have this problem which also exists in ie9

momer79 commented 9 years ago

same here in ie9

amerikan commented 9 years ago

@exussum12 @spencer613 @momer79 I was having a similar issue when using parsley.js. I was able to fix it, so I pushed the fix to master branch. Can you checkout the latest from master branch and see if your issue is fixed? Let me know, thanks.

amerikan commented 9 years ago

@momer79 are you using an ie9 install, or ie10+ in ie 9 compatibility mode?

momer79 commented 9 years ago

I am using IE9

jgliesman commented 9 years ago

Has this issue been resolved? I am still experiencing this in IE9? The type="password" is being replaced with type="text" ...

amerikan commented 9 years ago

Fixed in v2.1.2. Please update it.