Calling multiple JavaScript functions on a button click

前端 未结 11 1507
灰色年华
灰色年华 2020-12-23 22:37

How to call multiple functions on button click event?

Here is my button,



        
11条回答
  •  生来不讨喜
    2020-12-23 23:32

    That's because, it gets returned after validateView();;

    Use this:

    OnClientClick="var ret = validateView();ShowDiv1(); return ret;"
    

提交回复
热议问题