How to support placeholder attribute in IE8 and 9

Arbejdsglæde picture Arbejdsglæde · Feb 22, 2013 · Viewed 239.5k times · Source

I have a small issue, the placeholder attribute for input boxes is not supported in IE 8-9.

What is the best way to make this support in my project (ASP Net). I am using jQuery. Need I use some other external tools for it?

Is http://www.hagenburger.net/BLOG/HTML5-Input-Placeholder-Fix-With-jQuery.html a good solution?

Answer

red_alert picture red_alert · Feb 22, 2013

You could use this jQuery plugin: https://github.com/mathiasbynens/jquery-placeholder

But your link seems to be also a good solution.