'Methods' Example : Methods « Javascript Properties « JavaScript Reference

'Methods' Example

    
<html>
<body>
<script language="JavaScript">
    function function1() {
        document.all.myL.Methods = "post";
    }
</script>
<a id="myL" href="http://www.java2s.com/">java2s Home Page</a>
<input type="button" value='Change mode to "post"' onclick="function1();">
</body>
</html>

    
      
      








Related examples in the same category

1.'Methods' Syntax and Note
2.'Methods' is applied to