今天做项目的时候用这两个属性的时候发现一些区别,虽然都是占位符,但是placeholder在input里用,prompt在select里用。
<input name="iMO" class="easyui-validatebox col-xs-8" placeholder="呼号" required="true">
<select name="regDate" class="easyui-combobox col-xs-8" url="@Url.Action("GetKeyList","Harbor")" style="width:66%;" data-options="editable:false" prompt="第一关键字"></select>