JavaScript Reference/Javascript Properties/Methods

Материал из Web эксперт
Перейти к: навигация, поиск

"Methods" Example

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



"Methods" is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |<a>                                                           |
+----------------+--------------------------------------------------------------+



"Methods" Syntax and Note

Note:
Read and write property. 
Defines a comma-separated list of the HTTP methods for 
accessing the destination document.
    
Syntax:
    
document.all.aID.Methods = value