Re: [PHP] howto pass javascript variable to php

2002-11-18 Thread Jeff Bluemel
I apologize - javascript. Jeff "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > You can still use onclick event to pass value kept in a javascript variable: > > > > function action(url) { > location.href='http://www.domain.net/' + url + '&v

Re: [PHP] howto pass javascript variable to php

2002-11-18 Thread Marek Kilimajer
You can still use onclick event to pass value kept in a javascript variable: function action(url) { location.href='http://www.domain.net/' + url + '&var=' + javascript_var; return false; } Jeff Bluemel wrote: it's easy enough to pass php variable to javascript, but doing this the other

[PHP] howto pass javascript variable to php

2002-11-17 Thread Jeff Bluemel
it's easy enough to pass php variable to javascript, but doing this the other way around without a form submit, or location (passing as a php $_GET variable) seems to be a little nightmare. it's easy enough to do it with the form submit, or a location command. thanks, Jeff -- PHP General Mai