Script 'defer' Example : Script « HTML « JavaScript DHTML





Script 'defer' Example

    
<html>
<body>
<script language="javascript" defer="true">
    function function1() {
        document.all.myScript.defer = false;
    }
</script>
<script id="myScript" language="javascript">
    <input type="button" value=" onClick="function1();">
</script>
</body>
</html>

    
      
      










Related examples in the same category

1.Script 'language' Example
2.script 'text' Example
3.'event' Example