废话少说,直接上代码和截图:
<input type="password" style="display:none"/>
<input id="AuthCode" autofocus name="txtAuthCode" type="text" class="form-control1" placeholder="请用扫码枪扫码..." style="width: 450px; height: 100px; color: black" οnfοcus="this.type='password'" />