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