sriramjitendra
sriramjitendra

Reputation: 497

How to execute two different client side functions with button click?

Is it possible to execute two or more client side functions with a single button click? (I have written 3 functions in my .aspx page and need to validate on client side)

If yes please send me sample code with 3 client side functions using single button click.

Regards,

NSJ

Upvotes: 0

Views: 652

Answers (1)

onof
onof

Reputation: 17367

Of course it's possible:

<asp:Button runat="server" Id="myButton" onClientClick="function1(); function2(); function3();" />

Upvotes: 1

Related Questions