ok - the more I look at this the more I'm a bit lost.  passing the variables
from php to java makes sense.  however, from your scripts you listed it is
only possible to pass jsp variables to php by opening a new page, or by
activating a form.

is there a way to pass jsp variables to php while a script is running?  i.e.
use a jsp prompt to get a value as the php script goes on, and then take an
action on that variable?  for instance I have a situation where I need to
apply a credit.  granted, I could use a form to accomplish this, but I feel
it would be much cleaner to use jsp to get the value.

I also have situation where before proceeding I want to get an ok / cancel.

"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> php => javascript
> 1st way:
> <script>
> var var_name= <?= $var_value ?>
> </script>
> 2nd way:
> <input type="hidden" name="input_name" value="<?= $input_value ?>">
>
> javascript => php
> 1st way:
> location='http://server/script.php?var_name="; + js_var_name;
> 2nd way:
> form_name.input_name.value = js_var_name;
>
> hope you get the point :-)
>
> Jeff Bluemel wrote:
>
> >Can I utilize java script variables with get or post?  any information on
> >integrating the 2, and passing info back & forth?
> >
> >thanks,
> >
> >Jeff
> >
> >
> >
> >
> >
>



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

Reply via email to