2013年10月28日 星期一

LAB18

沿用LAB17 的程式碼,将form改成:
<form name="q" action="http://maps.google.com/maps?q=" id="exampleForm" onsubmit="return check()" method="get">
google map:
<input type="text" id="examplePass" name="q">
<input type="submit" value="go go google">
要有 return false; 輸入錯誤字元時不會搜索





沒有留言:

張貼留言