Get platform information : navigator « Javascript Objects « JavaScript DHTML
- JavaScript DHTML
- Javascript Objects
- navigator
Get platform information
<html>
<body>
<script language="JavaScript">
function function1() {
alert(navigator.platform);
}
</script>
<input type="button" value="Platform" onclick="function1();">
</body>
</html>
Related examples in the same category