开发者

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开发者_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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜