1. 程式人生 > >SELECT input 下拉框可輸入

SELECT input 下拉框可輸入

<div  style="position:relative;width: 170px;height: 28px" >
<span style="margin-left:150px;width:18px;overflow:hidden">   
<select id="search"  style="width:170px;margin-left:-150px" onchange="this.parentNode.nextSibling.value=this.value" ></select>
   </span>
   <input id="vccorptype"  placeholder="==請選擇==" style="width:152px;position:absolute;left:0px;top:0px;">  
   </div>