开发者

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

开发者 https://www.devze.com 2023-02-07 09:55 出处:网络
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)

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开发者_JS百科 with 3 client side functions using single button click.

Regards,

NSJ


Of course it's possible:

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

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号