|There's more than one way to do things|
onSubmit Redirectby hok_si_la (Curate)
|on Feb 04, 2005 at 16:47 UTC||Need Help??|
hok_si_la has asked for the
wisdom of the Perl Monks concerning the following question:
I have a script that generates a form using CGI.pm. This script is kind of a multi-purpose script, so the form action varies. On one of the actions, I am trying to do something like this.....
I would like the background script, 'changestatus.pl' in this case, to run while the browser is redirected to the ridiculous URL listed above. I read a few archived nodes about CGI::redirect but was unable to come up with as working solution. I would prefer to use CGI::redirect but using <script>window.location.href='ridiculous url'</script>is not out of the question.
Any pointers or references to related tutorials would be appreciated.