jQuery and other libraries, and the usage of '$'

前端 未结 6 766
孤独总比滥情好
孤独总比滥情好 2021-01-07 03:37

I have a quick, beginners-type-question. If I were to use jQuery and some other framework, would the following statement be problematic:

jQuery(document).rea         


        
6条回答
  •  Happy的楠姐
    2021-01-07 03:52

    For sure, make your code as explicit as possible - especially in this case. If the site changes later, you may end up calling the wrong library.

提交回复
热议问题