Acessing variables, declared in the server side script, from the client side script

I'd like to know how can I use variables declared in the server side
script from the client side script. 

P.S.: I'm using JavaScript in the server side script and in the client
side script. I don't like to use ASP.

Thanks!
0
Daniel
2/4/2000 9:24:46 AM
sybase.powersite 2112 articles. 0 followers. Follow

1 Replies
1228 Views

Similar Articles

[PageSpeed] 13
Get it on Google Play
Get it on Apple App Store

One example that come to mind:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=windows-1252" http-equiv="Content-Type">
<META name=GENERATOR content="MSHTML 5.00.2919.6307">

<SCRIPT language=JavaScript>
    var avar, avar2;
    avar = <% psSession.GetValue("sdata"); %>;

</SCRIPT>

<BODY>
</BODY>
</HEAD>

"Daniel Santana" <danielos@svn.com.br> wrote in message
news:389A9ADE.7472@svn.com.br...
> I'd like to know how can I use variables declared in the server side
> script from the client side script.
>
> P.S.: I'm using JavaScript in the server side script and in the client
> side script. I don't like to use ASP.
>
> Thanks!


0
Tim
2/7/2000 4:07:00 PM
Reply: