Re: problems with jsp & php
| From: | Jeff Bluemel | Date: | Thu, 12 Dec 2002 19:19:28 +0000 |
| Subject: | Re: problems with jsp & php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-128051@lists.php.net to get a copy of this message | ||
somebody has to have an answer to this...
"Jeff Bluemel" <jeff@domintcom.com> wrote in message
news:20021211222138.99753.qmail@pb1.pair.com...
> I cannot figure out where my problem is with the following script. I know
> I've used this syntax successfuly in the past. when I take out the
> variables, and just set link to something without using php then this
works.
> know when I click on the form that activated the button it does nothing.
>
> function batch_close()
> {
> if (parent_window && !parent_window.closed)
> {
> var action = <? echo $_GET['action']; ?>;
> var batch = <? echo $_GET['batch']; ?>;
> var begin = <? echo $_GET['begin']; ?>;
> var end = <? echo $_GET['end']; ?>;
> var amount = <? echo $_GET['amount']; ?>;
> var link = "maintain.html?action=" + action + "&batch=" + batch +
> "&begin=" + begin + "&end=" + end + "&amount=" +
> amount;
> parent_window.document.location.href=link;
> parent_window.focus();
> }
> window.close();
> }
>
>