Get jQuery version from inspecting the jQuery object

后端 未结 7 1910
小蘑菇
小蘑菇 2020-12-02 04:26

Is there a way to find out what version of jQuery is being used by inspecting the jQuery object? jQuery is dynamically getting added to my page and I cannot see

7条回答
  •  旧巷少年郎
    2020-12-02 04:44

    FYI, for the cases where your page is loading with other javascript libraries like mootools that are conflicting with the $ symbol, you can use jQuery instead.

    For instance, jQuery.fn.jquery or jQuery().jquery would work just fine:

    screen shot for checking jQuery version

提交回复
热议问题