当输入框获得焦点时,清空value的值,用js文件的形式
<formaction="submitpage.htm"onsubmit="returnvalidate_form(this)"method="post">Email:<...
<form action="submitpage.htm" onsubmit="return validate_form(this)" method="post">
Email: <input type="text" name="email" size="30" value="913581212@qq.com" >
<input type="submit" value="Submit">
</form> 展开
Email: <input type="text" name="email" size="30" value="913581212@qq.com" >
<input type="submit" value="Submit">
</form> 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询