<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>