That is a way to set a fixed value in a Javascript variable. From the
question I perceived the asker wanted a direct 2-way communication.
> -----Original Message-----
> From: greg@c... [mailto:greg@c...]
> Sent: Thursday, March 29, 2001 13:44
> To: Pro_JavaServer_Pages
> Subject: [pro_jsp] RE: Communication betn JSP and Javascript
>
>
>
> >Client -> JavaScript
> >============================= big wall
> >Server -> JSP
> >
> >No data passing except through HTTP requests.
>
> There's another way of seeing this, and it's so dead easy that maybe you
> didn't think of it
> You just have your normal pages and somewhere between your javascript
> <script> tags, you have myValue=<%=myValue%> which just prints some
> variables on the page and gives that value to a js variable which you can
> later use in whatever you want
>
> greg
>