2
Reply

java script problem (Its urgent)

tom christ

tom christ

Jan 4 2006 1:30 AM
1.7k

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)