C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !






Get Browser's Name and Version using Javascript


Posted Date: 23 Jun 2008    Resource Type: Code Snippets    Category: Javascript
Author: Kapil DhawanMember Level: Gold    
Rating: Points: 3



The code sample illustrates the uses of the navigator object.

In browser DOM, navigator refers to the browser as an object. It has several fields and we use two of them in this example


var browserName=navigator.appName; // appName is the browser's name
var browserVersion=navigator.appVersion; // appVersion is the browser's version

document.write("Browser name: "+ browserName);
document.write("<br />");
document.write("Browser version: "+ browserVersion);




Responses


No responses found. Be the first to respond and make money from revenue sharing program.

Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Get browser's name and version  .  Get browser version  .  Get browser name  .  Get browser details using javascript  .  

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Display Running Time of a Page using JavaScript
Previous Resource: Open a new Browser Window using Javascript
Return to Discussion Resource Index
Post New Resource
Category: Javascript


Post resources and earn money!
 
Related Resources



dotNet Slackers   BizTalk Adaptors    Web Design


Contact Us    Privacy Policy    Terms Of Use