thisisperl has asked for the wisdom of the Perl Monks concerning the following question:
My question is: How and where should I specify that DispatchForm.tmpl should display in a new window?In Results.tmpl: This is the hyperlink that they click to view more information: <a href="javascript:createDispatch(<!-- TMPL_VAR NAME=myNo -->);" ><!- +- TMPL_VAR NAME=myNo --></a> The hyperlink goes to this JS function: function createDispatch(subNo) { document.resultsForm.subNumber.value=subNo; document.resultsForm.submit(); } The submit action above calls a CGI file to retrieve the required deta +ils: <form method="POST" name="resultsForm" action = "../cgi-bin/prepareDis +patch.cgi"> The prepareDispatch.cgi file retrieves details and displays them in Di +spatchForm.tmpl
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Displaying cgi-tmpl file in new window
by jZed (Prior) on Jul 07, 2004 at 17:15 UTC | |
by jbodoni (Monk) on Jul 07, 2004 at 21:45 UTC | |
by thisisperl (Novice) on Jul 08, 2004 at 17:45 UTC | |
|
Re: Displaying cgi-tmpl file in new window
by wfsp (Abbot) on Jul 07, 2004 at 18:25 UTC | |
by thisisperl (Novice) on Jul 07, 2004 at 20:08 UTC | |
by wfsp (Abbot) on Jul 08, 2004 at 00:10 UTC | |
|
Re: Displaying cgi-tmpl file in new window
by pearlie (Sexton) on Jul 08, 2004 at 05:18 UTC | |
by Anonymous Monk on Jul 08, 2004 at 22:42 UTC | |
by wfsp (Abbot) on Jul 09, 2004 at 16:46 UTC | |
by thisisperl (Novice) on Jul 09, 2004 at 20:21 UTC |