I have two buttons one for submitt and another for clear all text box ,both are on same form.Here I am using a java script function on form submitt and another script for clear text boxes,Now problem is that when I press clear button ,form get submitted first before calling that clear function.
I want to call function that will be based on button click.
waiting for your reply.