表单内容重置-reset

在编辑表单代码时,有时需设置内容重置功能,此时不需要涉及jquery,input 的type属性中reset课直接实现此功能。代码如下:

<input type = "reset">

posted @ 2015-04-26 14:07  ALuckyPig  阅读(175)  评论(0)    收藏  举报