How to check jQuery version?

 Posted by vishalneeraj-24503 on 2/3/2015 | Category: jQuery Interview questions | Views: 255 | Points: 40
Answer:

jQuery keeps track of the current version of the script being used in jQuery.fn.jquery property. Both major version version 1.x and version 2.x have this property.

jQuery.fn.jquery;

It will return string: "1.10.2"


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response