Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing a 2 dimensional array to client side script

Status
Not open for further replies.

johr

Programmer
Apr 16, 2001
13
US
How do I pass an array from the onchange event of a text box to a client side vbscript ? Specifically I want to pass a 2 dimensional array or the recordset from which the array is created. I am new to ASP , HTML and VBscript so I am assuming this can be done?
Thank you
 
The onchange event happens client-side too.

ASP script normally works as a one-shot. It runs when the user requests it (GET, POST) and generates HTML (or DHTML) that gets sent back to the client.

By the time client script is active, the ASP script is long done processing and can't interact until invoked through another request.

There are hacks that let client script post back to an ASP page and retrieve a result without the client page being refreshed or replaced. Seems to me the Microsoft implementation requires a special Java applet on the page to accomplish this.

Maybe I missed the gist of your question?

You might also try the ASP Forum for a more tightly focused audience.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top