起因:如图,今天放假回到家,把宽带的密码忘记了,但是又不想找移动的客服,但是无线网还是可以连接上的,然后就看到了这个表单,但是是密码框,有没有用程序的角度去获取这个input类型为password中的值。
该框代码:
html
<tr> <td>上网口令:</td> <td> <input name="psw" type="password" class="text" value="" size="15" maxlength="118" onfocus="doFocus()" onblur="doOnblur()" autocomplete="off"> </td> </tr>
直接把
type="password"
改成type="text"
应该就 OK 了吧...