"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. 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)
10 則留言:
電子2甲 9426111 賴靖雯
電子二乙 9426249 黃國祝
電子二甲 羅欣瑜 9426124
電子四丙9226320林慶瑜 Lab Form and Action
電子二乙9426212黃嘉弘
電子二丙 9426317 楊敦益
電子二丙 9426320 李尚謙
電子三乙 9326223 李其霖
電子三丙9326305張嘉軒
電子三甲 9326157 張格榮
張貼留言