Quantcast
Channel: w3mentor » Javascript
Viewing all articles
Browse latest Browse all 100

Detect the browser version in Javascript

$
0
0
<HTML> <HEAD> <TITLE>Browser Detecti on</TITLE> </HEAD> <body> <SCRIPT LANGUAGE="JavaScript"> var browsername= navigator.appName var browserversion = navigator.appVersion if (browsername == "Microsoft Internet Explorer" ) { document. write(" You are using MS Internet Explorer version " + browserversion) } else { document. write(" You are using Netscape Navigator version " + browserversion) } </SCRIPT> </BODY> </HTML>
Continue reading...

Viewing all articles
Browse latest Browse all 100

Trending Articles