<FORM action=http://www.yam.com.tw/b5/search method=get> <INPUT name=k size=18> <INPUT type=submit value="蕃薯藤搜寻"> </FORM>
<html> <head> <title>::~::</title> <script type="text/javascript"> function dicsearch(o){ document.location="http://www.google.com/search?q="+o; } </script> </head> <body style="margin: 100px;"> <form method="POST" action="#" name="search"> <!--这里是设定文字输入框--><input type="text" size="40" name="keyin"><P> <!--这里设定按键,同时设定按下时须执行的动作--><input type="button" onclick="dicsearch(document.search.keyin.value)" value="Google搜寻"> </form> </body> </html>