Jan 17, 2010

How to get browser name and version in JavaScript?

"navigator.appName" and "navigator.appVersion" are used to get
browser name and version respectively.

File : BrowserInfo_JS.html

<html>
<body>
<script type="text/javascript">
var browser=navigator.appName;
var b_version=navigator.appVersion;
var version=parseFloat(b_version);
document.write("Browser name: "+ browser);
document.write("<br />");
document.write("Browser version: "+ version);
</script>
</body>
</html>

====================
Publicize yourself ... Free!
http://saalram.com
====================

No comments:

Post a Comment

Saalram.com

Saalram
Publicize yourself ...
http://saalram.com

Free !!!


Place your Ad here - Free!!!
just drop us a mail ... saalram.service@gmail.com

Free !!!