I have the following code:
// Attach onclick event to Clear buttons on all forms
// Reset the form
// Remove selected="selected" from Select options
Is there any reason why "this.form" wouldn't work in some browsers/operating systems? I thought it was pretty standard, but a user complained that the button wasn't doing anything for them in Firefox/Windows 7.
Should I use: