'Methods' Example : Methods « Javascript Properties « JavaScript Reference
- JavaScript Reference
- Javascript Properties
- Methods
'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