I have a search form which have two buttons: the search button and the reset button. the reset button works before going to the next page but returning to the page (using the back button), the reset button no longer works. The function for the reset button is below. Can you help me to solve this issue. Thanks.
$(function() {
$("###frmName#-btnReset").click(function(event) {
$("form[name='#frmName#']")[0].reset();
});
});