Any downsides to using ASP.Net AJAX and JQuery together

前端 未结 9 1043
深忆病人
深忆病人 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:10

    jQuery has a noConflict() method as a part of the core, but it then requires that you either use jQuery as your named function or something else of your choosing (instead of the dollar selector). However, I will say that the method is often dependent on the implementation of the "competing" library. I have tried to use it for a Ning social network (which used Dojo), and for Magento (which uses Prototype), and I could not get either to play right with jQuery. This is just my personal experience, and others have been very successful.

    http://docs.jquery.com/Core/jQuery.noConflict

提交回复
热议问题