'getCharset()' Example : Charset « Document « JavaScript DHTML






'getCharset()' Example

    
<html>
<body>
<script language="JavaScript">
    function function1() {
        alert(myDiaHelp.getCharset("Verdana"));
    }
</script>
<input type="button" value="GetCharSet" onclick="function1();">
<object id="myDiaHelp" 
        classid="clsid:3050f819-98b5-11cf-bb82-00aa00bdce0b" 
        width="0px" 
        height="0px">
</object>
</body>
</html>

    
      
      








Related examples in the same category

1.'defaultCharset' Example
2.'charset' Example