button element not clearing fields

Hello,

I cannot seem to get my button, onclick function to clear all the fields in my form. As you can see from the [/code]

You’d want to be resetting the value of those fields - frm_elements[i].value = “”;

Here’s a sample tutorial: http://www.javascript-coder.com/javascript-form/javascript-reset-form.phtml

Sponsor our Newsletter | Privacy Policy | Terms of Service