星期一, 5月 10, 2010

Lab 25 Lab Form and Action

"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 KompoZer HTML editor.
3. Open a new empty HTML file.
4. Paste the search box into this new file.

5. Use KompoZer 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?

19 則留言:

9644219 提到...

9644219 資管三乙 簡維辰

chris5860 提到...

9626359 電子三丙 王琬珺

9626206 提到...

9626206 電子三乙 林岷萱Lab25

s9626305 提到...

9626305 電子三丙 石明樺

S9626361 提到...

9626361 電子三丙 邱嗣允

s9626233 提到...

9626233 楊清皓 電子三乙

darren 提到...

9622253 盧德澐 電子三甲

s9626303 提到...

9626303 電子三丙 陳映綱

s9528249 提到...

9528249 電機四乙 陳建舟

s9626124 提到...

林智哲 9626124 電子三甲

范9626207 提到...

9626207電子三乙范聖宏

blue 提到...

電子三丙 9626310 藍威長

s9626313 提到...
作者已經移除這則留言。
s9626317 提到...

9626317 電子三丙 翁力威

s9526123 提到...

9526123 電子四甲 陳奕銘

s9626224 提到...

9626224 電子三乙 魏子崴

s9626313 提到...

9626313電子三丙張博豪

Boring 提到...

0398023附讀余柏穎

s9626165 提到...

9626165 電子四甲 謝安哲