两种方法: 1.设置text属性为readonly <input type="text" value="设置仅可读" style="cursor:hand" readonly="readonly"> 2. 在对象focus时立刻让它blur,使它无法获得焦点 <input type="text" value="设置无法获取焦点" style="cursor:hand" onfocus="this.blur()">