in reply to Re^2: how can i take value in TextBox and pass to a URL?
in thread how can i take value in TextBox and pass to a URL?
You want the value in the text box transmitted when EITHER button is clicked, not just the first? I guess I misunderstood the problem.
Here's another trick you can use: just have one form, but use two submit buttons:
<input type="submit" name="submit" value="ButtonA"><br> <input type="submit" name="submit" value="ButtonB"><br>
Then your CGI script can check the value of the submit button, and branch accordingly. In your case, I suppose you'd simply do a redirect to the URL you want.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: how can i take value in TextBox and pass to a URL?
by blackcode (Novice) on Dec 11, 2009 at 19:22 UTC | |
|
Re^4: how can i take value in TextBox and pass to a URL?
by blackcode (Novice) on Dec 15, 2009 at 07:54 UTC |