我有一个小问题,IE 8-9 不支持输入框的 placeholder
属性。
在我的项目 (ASP Net) 中提供这种支持的最佳方式是什么。我正在使用 jQuery。 我需要为此使用一些其他外部工具吗?
是http://www.hagenburger.net/BLOG/HTML5-Input-Placeholder-Fix-With-jQuery.html一个好的解决方案?
最佳答案
你可以使用这个 jQuery 插件: https://github.com/mathiasbynens/jquery-placeholder
但是你的链接似乎也是一个很好的解决方案。
关于html - IE8、9支持placeholder属性的方法,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15020826/