Any downsides to using ASP.Net AJAX and JQuery together

前端 未结 9 1031
深忆病人
深忆病人 2021-02-04 10:41

We are planning to use the jQuery library to augment our client side JavaScript needs.

Are there any major issues in trying to use both ASP.Net AJAX and jQuery? Both li

9条回答
  •  伪装坚强ぢ
    2021-02-04 11:28

    For what it's worth, there is no conflict between jQuery's $ function and ASP.NET AJAX's $ prefixed shortcut functions ($get, $find, $create, etc). Just the same as using a variable f doesn't prevent you from using a variable named foo.

    jQuery and ASP.NET AJAX work well together in the majority of cases. In the past year, the only time I've seen ASP.NET AJAX break jQuery code was this scenario with jDrawer. The workaround wasn't bad though.

提交回复
热议问题