What is the difference between these two word in jQuery
问题 I am trying to get the version of jQuery a page is using in an alert. It works perfect: I use alert(jQuery.prototype.jquery) Now my question is what is the difference between jQuery and jquery words here that are specified before and after prototype. which one is specified by $. 回答1: The global $ and jQuery variables just point to the same function object, they are "aliases". jquery is just the name of the property of the prototype object. The two names have nothing to do with each other -