zircon06
Technical User
- Jan 8, 2007
- 81
I need to call different javascript functions based on the conditions in submit button click.
if(balancedue == 0)
//call javascript function to confirm
else
//call another javacript function to confirm.
How can I call based on the conditions. In page_load event btnsubm.Attribute.Add can only be called once but how do I add conditions to call different function for different criteria.
Any help is greately appreciated.
if(balancedue == 0)
//call javascript function to confirm
else
//call another javacript function to confirm.
How can I call based on the conditions. In page_load event btnsubm.Attribute.Add can only be called once but how do I add conditions to call different function for different criteria.
Any help is greately appreciated.