If you used form tag in JQuery mobile add a "id" to your form tag
**<form action="" id="myForm" method="post"> ... </form>**
And in
**$('#reset').click(function() { document.getElementById("myForm").reset(); });**
this will reset all your form element.
And you can add
**<input type="reset" name="reset" id="name" value="Reset" />**
Default functionality is to reset the form element. No need to write any code.