input设置为只读且停用光标,无法变更其值, 仍然能传值

<s:select 只读  .
<span onmousemove="this.setCapture();" onmouseout="this.releaseCapture();" onfocus="this.blur();">

               <s:select id="maxtypeid" style="width:40px;" list="{'D','M','Y'}" onfocus="this.blur()" name="maxType" onchange="changeSty('2')"/>
             </span>

你可能感兴趣的:(input)