Difference between jquery and $

前端 未结 8 1828
北荒
北荒 2021-01-02 14:09

I did heavy use of jquery on my php project. But on some page the $ is not working, so I have to use jquery. For example:

jQuery(\'#mycarousel\'         


        
8条回答
  •  遥遥无期
    2021-01-02 14:36

    $ is just a variable that is used to alias jQuery and it is a varible so anything could be assigned to it.

    You can get detailed information related to it from its Documentation

提交回复
热议问题