开发者

Google Chrome form element reset not working

I am trying to clear the values contained within a form using an HTML input type reset. It seems fine and resets the values in Safari and Firefox, just not in Chrome (Mac OSX). Does anyone know a way around this without writing javascript to do it开发者_JS百科? (I have done it this way before but want to avoid it)

<form ... >
   <input type="text" ... />
   <input type="reset" label="Clear" ... />
</form>


Be sure that you have your doctypes set correctly. If you are unsure about that send your HTML through the W3C Validator

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜