w*s 发帖数: 7227 | 1 say i have
1. a textbox, 1 submit button.
2. in the text box default is "box 1", i type "hello"
3. press submit, same page will display "you typed hello"
this is simple.
now in the same page, i want to dup this text box and submit button.
so 2 text boxes, 2 submit buttons.
the problem is,
when i type sth. in box 1,
then type anything in box 2.
when i press the 2nd submit button,
the text in box 1 goes to the default value.
i'm using perl + cgi.pm.
in general, can this be done ? no need to be perl.
thx ! |
|