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.
Loading
shah aliPosted Jan 6, 2006, 5:24 AM
He ManPosted Jan 6, 2006, 4:11 AM
cmdClear.attributes.Add("OnClick","javascript:Clearmethodofjavascript();")
hope this would work