Mega Code Archive

 
Categories / JavaScript Reference / Javascript Objects
 

Navigator Example

<html> <head> <script language="JavaScript"> function function1() {     var m = navigator.appName;     alert("The name of your browser is "+'"'+m+'"'); } </script> </head> <body > <input type="button" value="Click here" onClick="function1();"> </body> </html>