"logic will get you from A to B - imagination will take you anywhere"
How to use Form to invoke a remote service through CGI.
1. Copy the search box of this search page,
inlcuding radio buttons, text input, and submit button.
2. Open your Nvu HTML editor.
3. Open a new empty HTML file.
4. Paste the search box into this new file.
5. Use Nvu to add a Form to this search box. Do not hand code the HTML. Just fill the blank in the Form dialog.
6. In the form dialog, set Action="http://google.com/search" and name of Form as "f" and method as "get"
(See Hint if it does not work.)
7. Save your file on your computer. Run your HTML by Firefox. What do you get?
8. Set method as "post"
9. Run your HTML by Firefox. What do you get?
訂閱:
張貼留言 (Atom)
15 則留言:
電子三乙 9526238 王詩集
9526204電子3乙徐睿
9522342電子三丙劉璦菁
電子三丙 9526343 蘇雍琪
電子三丙 9526354 陳智峰
9426222甘碩傑 電子四乙
電子三丙 9526342 李忠展
電子四乙9426257袁麗文
電子三丙 9526322 楊秉霖
電子三丙 9526315 黃俊達
電子四丙9426368孫茂榮
電子三乙9526222曾瑞華
電子3乙 9526237 洪鑄成
電子四丙 9426341 曾立偉
電子三丙 9526357 施柏羽
張貼留言