Using prototype with Jquery
问题 Is there any way of using prototype to coexist with Jquery. What i mean is not Jquery with prototype with the Jquery NoConflict tag but the other way around. I have to override prototypes utility methods to coexist with other libraries? I have no control over the Jquery Scripts 回答1: When jQuery is included, it takes a copy of whatever is defined as $ and stores a reference to it. When you use jQuery.noConflict it restores that reference, and returns jQuery which allows you to "rename" jQuery.