'navigator' Example : navigator « Javascript Objects « JavaScript Reference
- JavaScript Reference
- Javascript Objects
- navigator
'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>
Related examples in the same category