Multiple Script Versions : JavaScript Version : Development JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Development » JavaScript Version »

 

Multiple Script Versions



<HTML>
<HEAD>
    <SCRIPT LANGUAGE="JavaScript">
    <!--
    function doIt() {
        // statements for JavaScript 1.0 browsers
    
    //-->
    </SCRIPT>
    <SCRIPT LANGUAGE="JavaScript1.1">
    <!-- 
    function doIt() {
        // statements for JavaScript 1.1 browsers
    }
    //-->
    </SCRIPT>
    <SCRIPT LANGUAGE="JavaScript1.2">
    <!--
    function doIt() {
        // statements for JavaScript 1.2 browsers
    }
    //-->
    </SCRIPT>
</HEAD>
<BODY>
<FORM>
    <INPUT TYPE=button VALUE="Click Me" onClick="doIt()">
</FORM>
</BODY>
</HTML>



           
       



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Development
» JavaScript Version