Get Running Jquery Version

Few weeks back I came across a page that has multiple jquery versions referenced in it and I had no idea which jquery version is actually running. So after little bit of googling I find following solution.

//Returns “1.3.1”
$().jquery;

//Returns “1.3.1” jQuery.fn.jquery;

comments powered by Disqus