<form> 密码: <input type="password" id="pwd" value="thgrt456"> </form> <button type="button" onclick="displayResult()">显示默认值</button>