interviews.dotnetthread.com

↑ Grab this Headline Animator

Monday, June 2, 2008

Explain Navigator object in JavaScript

Navigator object contains information about the browser that is being used. Popular two properties of this object are appName (holds the name of the browser) and appVersion (holds the version of the browser and some other information).

var browserName=navigator.appName;
var BrowserVersion=navigator.appVersion;

Submit this story to DotNetKicks

No comments:

Post a Comment

Post your comments/questions/feedback for this Article.

 

Latest Articles