Hi PL,
Thank you for your personal message, but could you please post replies here instead of e-mailing me directly? The whole idea of a forum is to create a centralized location for questions and answers.... ;)
If you need to pass
values of variables to client side JavaScript, try something like this:
Code:
<!-- Server Side ASP Code<%
Dim MyServerSideVariable
MyServerSideVariable = "Test Value"
%>
<script type="text/javascript">
var MyClientSideVariable = '<%MyServerSideVariable%>';
</script>
This puts the words Test Value into the client side variable, so it ends up like this:
var MyClientSideVariable = 'Test Value';
From this point on, you can the variable as you normally would.
If you need to roundtrip the client side value back into the server side variable, you need to put it in a field (text or hidden for example) and then submit the page back to the server.
HtH,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to:
Yuri-G by
P.J. Harvey (Track 9 from the album:
Rid Of Me)
What's This?