View Single Post
Old 11-09-2004, 11:32 AM   #5 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,489
sde is on a distinguished road
ok, let me clarify.. anything that is javascript, i.e. you are using <script language=javascript>, executes on the client side.

even though you are coding on an asp page, it's not getting processed server-side unless you are inside the <% %> tags. if you are between those tags, you can use vbscript ( i think javascript too ) to process thing before the page is served to the client.

if you wanted to know how to do this in asp (vb) , then you should probably post it in the MS technologies forum, .. but i tested my example and it will work for a javascript solution.

the thing is that your javascript variables are completely different than your asp variables since they execute 2 seperate ways ( client / server )

i'm not sure your level of understanding, so i appologize if i am explaining some things you already know.
__________________
Mike
sde is offline   Reply With Quote