Q&A Categories

  • No categories

How to check browser version on iPhone, iPod, iPad, Android, Galaxy etc ?

Aug

21

2012

Is it there a script which could detect and tell you the version of your browser either it’s on iPhone, iPod, iPad, Android Device, Galaxy, computer, working on all browsers ?

In: Uncategorized Asked By: wert

 
0
-1
vote
Answer #1

Here’s a simple example from jQuery:

<!DOCTYPE html>
<html>
<head>
  <style>
  p { color:green; font-weight:bolder; margin:3px 0 0 10px; }
  div { color:blue; margin-left:20px; font-size:14px; }
  span { color:red; }
  </style>
  <script src="http://code.jquery.com/jquery-latest.js"></script>
</head>
<body>
  
<p>Browser info:</p>

<script>
    jQuery.each(jQuery.browser, function(i, val) {
      $("<div>" + i + " : <span>" + val + "</span>")
                .appendTo( document.body );
    });</script>

</body>
</html>

And here’s the output example for your browser with which you see this page right now:

Answers Answered By: aiboogie [228 Blue Star Level]

Answer this Question

Enter name & email to post an Answer. You can also Login / Join us

For a better management of this site please consider Logging in / Joining us before posting a Question. It makes everithing easier for us.

Please enter the captcha code bellow.
Logged in users don't have to use captchas. Don't have an account? Join us!

 

Link Exchange:

You can add url to the best of the internet directory. Our url is added under Reference Directory
HE Blog Directory WEB LOG SHOWWEB LOG SHOW