in reply to Re: PERL CGI Form Processing while URL change
in thread PERL CGI Form Processing while URL change
<form action="http://localhost/cgi-bin/env.pl" method="POST"> <input id="q" type="text" size="15" name="query" value="" /> </br> <input type="submit" value="Find" /> </form>
This form method works fine on homepage.
But when user submits a query, and URL changes to http://localhost/cgi-bin/env.pl, the form doesn't work anymore. Page http://localhost/cgi-bin/env.pl also contains same form code as present on homepage.
As far as I have read about Web development I know for this case Ajax, is good solution. But I want to know what wrong I did, in this case.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: PERL CGI Form Processing while URL change
by thewebsi (Scribe) on May 11, 2013 at 19:55 UTC | |
by msinfo (Sexton) on Jun 06, 2013 at 20:55 UTC |