I have a form with a standard reset button coded thusly:
Trouble i
I was having the same problem and the post of Paolo helped me out, but I needed to adjust one thing. My form with id advancedindexsearch only contained input fields and gets the values from a session. For some reason the following did not work for me:
$("#advancedindexsearch").find("input:text").val("");
If I put an alert after this, I saw the values where removed correctly but afterwards they where replaced again. I still don't know how or why but the following line did do the trick for me:
$("#advancedindexsearch").find("input:text").attr("value","");