-5
這是在文本框上顯示搜索的簡單代碼。但它不適用於Internet Explorer。爲什麼?支持除Internet Explorer之外的所有瀏覽器
<div id="rightsearch_div1">
<input id="text_box" placeholder="search..." type="text" />
</div>
這是在文本框上顯示搜索的簡單代碼。但它不適用於Internet Explorer。爲什麼?支持除Internet Explorer之外的所有瀏覽器
<div id="rightsearch_div1">
<input id="text_box" placeholder="search..." type="text" />
</div>
它適用於IE10。
事情在瀏覽器中不起作用,它們在發佈時並未實現。
它應該在最新的IE中工作。我喜歡使用此網站來檢查跨瀏覽器兼容性的這些東西: http://caniuse.com/#feat=input-placeholder
「佔位符」屬性直到IE 10時才執行。 – 2013-03-08 06:16:55
-1。請不要寫這樣的問題。我在Netscape Navigator上測試了一個令人驚訝的工作。 :)首先閱讀文檔,第二次嘗試Google,然後使用SO! – Xearinox 2013-03-08 06:19:07