Re: can I retrieve jsp varibable with get or post???

From: Date: Sat, 16 Nov 2002 18:53:29 +0000
Subject: Re: can I retrieve jsp varibable with get or post???
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-124737@lists.php.net to get a copy of this message
thanks - yes I do understand the code you placed. OK - can I take the JSP variable with a post or a get? are these just general http variables? Jeff "Marek Kilimajer" <kilimajer@webglobe.sk> wrote in message news:3DD54A40.30603@webglobe.sk... > 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 > > > > > > > > > > >

« previous php.general (#124737) next »