jQuery.browser.version

jQuery.browser.version property provides information about the web browser version.

jQuery.browser.version was removed in jQuery 1.9 and is available only through the jQuery.migrate plugin.

Example

Detect Browsers version using jQuery

HTML
<!DOCTYPE html>
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"> </script>
<script src="http://code.jquery.com/jquery-migrate-1.2.1.js"> </script>
<title>jQuery.browser.version Example </title>
</head>
<button>Get Browser Version</button>
<div></div>
</html>
Javascript
$(document).ready(function(){
  $("button").click(function(){
  $("div").html($.browser.version);

}); 
});