鼠标点击时输入框内的value值自动没有效果:只需要在input中加入:onfocusthis.valueps:input type
鼠标点击时输入框内的value值自动没有
效果:


只需要在input中加入:onfocus="this.value=''"
ps:
<input type="text" name="yourname" size="30" maxlength="20" value="输入框的长度为30,允许最大字符数为20" onfocus="this.value=''">
鼠标点击时输入框内的value值自动没有
效果:


只需要在input中加入:onfocus="this.value=''"
ps:
<input type="text" name="yourname" size="30" maxlength="20" value="输入框的长度为30,允许最大字符数为20" onfocus="this.value=''">