JavaScript Reference/Javascript Properties/Methods
Версия от 18:30, 25 мая 2010; (обсуждение)
"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