Asp.net codebehind from javascript?

前端 未结 3 1780
野趣味
野趣味 2021-01-21 03:34

Is it possible to call asp.net codebehind function from javascript in vs2008?
My problem is, I have two codebehind methods, one is for some validation and it will return tru

3条回答
  •  佛祖请我去吃肉
    2021-01-21 04:02

    In your case, why don't you use OnClientClick function of the button to call your javascript function?

    Regards, S Mukherjee.

提交回复
热议问题