Is there a jQuery function that returns the version of jQuery that is currently loaded?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use this:
It’s updated automatically when jQuery is built, defined here: http://github.com/jquery/jquery/blob/master/src/core.js#L174
Make sure to use
$.fn.propertyfor properties that don’t depend on an object, no reason to create an unneeded jquery object with$().propertyunless you intend to use it 🙂