ASP.NET postback with jQuery?

前端 未结 6 1584
深忆病人
深忆病人 2020-12-13 21:19

I have a ASP.NET button but recently, I replaced it with a standard HTML button ... What I need to do is a postback to an ASP.NET page and ensure a method is called.

6条回答
  •  旧巷少年郎
    2020-12-13 21:31

    While you can do Postbacks with JQuery, it might be better to call a web method (web service that is in your page). The call could also be faster because you are not posting the entire page ViewState.

提交回复
热议问题