Passing Server side vars to Client side 
Author Message
 Passing Server side vars to Client side

Is there any simple way of reading VBScript server side variables into the
VBScript client side?  I have the situation where I have some vbscript
reading in some information from a SQL server database into an array.  Then
I want to read this array using client side scripting into an active x
control (essentially a drop down list).
Normally I would just do this completely with Server side scripts but I
can't do this because I have more than one drop down list and the selection
from one list affects the next.  So the only way I can figure this out is to
use client side scripts.

Anyone know how to do this or have a better way?

TIA
Jonathan Pyne
Network Administrator
Matamata-Piako District Council
Te Aroha
New Zealand
Ph 64-7-8840060



Tue, 12 Mar 2002 03:00:00 GMT  
 Passing Server side vars to Client side
You can use remote scripting or RDS.  If you don't want to use those you can
refresh the page every time someone selects an item from the drop-down.  If
you don't want to do that you can download ALL possible values into an array
and dynamically populate the combos.


Tue, 12 Mar 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. How Can I Pass Data Between the Server Side and the Client Side VB/JScript

2. pass server side vbscript to client side javascript

3. how to pass client side values to server side

4. Passing variables from server-side to client-side

5. Passing variables from client-side to server-side

6. Passing Server Side Arrays to Client Side Scripts

7. Passing a server side var to client side block

8. Passing variable from server side to client side

9. Passing Vars on the client side

10. attached Contact Item on server-side becomes attached Mail Item on client-side

11. Server side or client side cursors?

12. Printing report at the client side and the report is at the server side

 

 
Powered by phpBB® Forum Software