我需要幫助更改輸入字段上的值,最好是jQuery的placeholder
值。更改html表單元素佔位符與jquery
<input id="someinput" value="" placeholder="Change This With JS" type="text">
我需要幫助更改輸入字段上的值,最好是jQuery的placeholder
值。更改html表單元素佔位符與jquery
<input id="someinput" value="" placeholder="Change This With JS" type="text">
變化如何?像改變佔位符的默認值使用jQuery?通過使用jQuery(polyfill)更改佔位符的功能? – Joseph