这是在文本框中显示搜索的简单代码。但它不适用于 Internet Explorer。为什么?
<div id="rightsearch_div1">
<input id="text_box" placeholder="search..." type="text" />
</div>
这是在文本框中显示搜索的简单代码。但它不适用于 Internet Explorer。为什么?
<div id="rightsearch_div1">
<input id="text_box" placeholder="search..." type="text" />
</div>
它适用于 IE10。
事情在发布时没有实现它的浏览器中不起作用。
它应该可以在最新的 IE 中运行。我喜欢使用这个网站来检查这些东西的跨浏览器兼容性:http: //caniuse.com/#feat=input-placeholder