tom christ

tom christ

  • NA
  • 11
  • 0

java script problem (Its urgent)

Jan 4 2006 1:30 AM

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.


Answers (2)