I’ve finally solve the problem!! @RobG was right about the
form tag and
table tag. the
form tag should be placed outside the table. with that,
<td><input type="reset" id="configreset" value="Reset"></td>
works without the need of jquery or anything else. simple click on the button and tadaa~ the whole form is reset 😉 brilliant!