jQuery: Determining browser information



The jQuery Code START
    
    <script type="text/javascript" src="./jquery-1.5.1.js"></script>
    <script src="http://code.jquery.com/jquery-latest.js"></script>
  
    <script type="text/javascript">
      $(document).ready(function() {
          jQuery.each($.browser, function(i, val) {
              $("<div>" + i + " is " + val + "</div>").appendTo(document.body);
          });
      });
    </script>
  </head>

  <body>
    <h1>jQuery: Determining browser information</h1>
    
    
    
The jQuery Code END

output: START