Re: [PHP] Re: problems with jsp & php

2002-12-12 Thread Jeff Bluemel
yes this is javascript - for some reason I thought jsp was another term for
javascript so I apologize.  Let me try these code changes, and see how this
shakes out.

Jeff
"Chris Wesley" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I'm pretty sure everyone else is as confused by your description as I am.
> (Hence, I didn't answer.)  It looks like you're trying to generate
> JavaScript w/ PHP, but your subject mentions JSP.  In a nutshell, I don't
> know if what you're doing is over my head, or just not explained clearly.
>
> I can man an uncomfortable assumption, though:  You mean to generate
> JavaScript and JSP has nothing to do with this problem.  Try quoting your
> JavaScript variable values ...
>
> Change:
> var action = ;
>
> To:
> var action = "";
>
> ... likewise with the rest of your JavaScript variables.
>
> g.luck,
> ~Chris
>
> On Thu, 12 Dec 2002, Jeff Bluemel wrote:
>
> > somebody has to have an answer to this...
> >
> >
> > "Jeff Bluemel" <[EMAIL PROTECTED]> wrote in message
> > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > 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 = ;
> > >   var batch = ;
> > >   var begin = ;
> > >   var end = ;
> > >   var 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();
> > > }
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Re: problems with jsp & php

2002-12-12 Thread Chris Wesley
I'm pretty sure everyone else is as confused by your description as I am.
(Hence, I didn't answer.)  It looks like you're trying to generate
JavaScript w/ PHP, but your subject mentions JSP.  In a nutshell, I don't
know if what you're doing is over my head, or just not explained clearly.

I can man an uncomfortable assumption, though:  You mean to generate
JavaScript and JSP has nothing to do with this problem.  Try quoting your
JavaScript variable values ...

Change:
var action = ;

To:
var action = "";

... likewise with the rest of your JavaScript variables.

g.luck,
~Chris

On Thu, 12 Dec 2002, Jeff Bluemel wrote:

> somebody has to have an answer to this...
>
>
> "Jeff Bluemel" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > 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 = ;
> >   var batch = ;
> >   var begin = ;
> >   var end = ;
> >   var 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();
> > }



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Re: problems with jsp & php

2002-12-12 Thread Jeff Bluemel
somebody has to have an answer to this...


"Jeff Bluemel" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 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 = ;
>   var batch = ;
>   var begin = ;
>   var end = ;
>   var 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();
> }
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php