How to determine and print jQuery version?

后端 未结 7 1371
北恋
北恋 2021-01-31 14:06

Is there a jQuery function that returns the version of jQuery that is currently loaded?

7条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-31 14:42

    $().jquery; // yields the string "1.4.2", for example
    

    Source: http://jquery-howto.blogspot.com/2009/02/how-to-check-jquery-version.html

提交回复
热议问题