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
精彩评论