cvn / angular-shims-placeholder

Angular directive to emulate the placeholder attribute on text and password input fields for old browsers, such as IE9, IE8, and IE7. Also works on textareas and html5 input types.
MIT License
63 stars 26 forks source link

"Error: Unspecified error." when used inside an iframe (IE9) #27

Closed cvn closed 9 years ago

cvn commented 9 years ago

Placeholder fails to work and logs "Error: Unspecified error." to the console when used inside an iframe in IE9. Placeholder text does show on load, but does not update on focus or blur.

https://jsfiddle.net/bqLv5cmt/1/

cvn commented 9 years ago

The problem is document.activeElement. Update coming soon.

http://tjvantoll.com/2013/08/30/bugs-with-document-activeelement-in-internet-explorer/