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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Retrieving Client-Side Variables w/o Submit... 1

Status
Not open for further replies.

majorbroncosfan

Programmer
Feb 23, 2001
121
US
I know that Javascript is designed for use on client-side pages to be able to change variables and objects on the page at the client. Is there any way to do so via VB Script? Can variables be passed in such a way that I do not need to submit the page? I am trying to get things on the client, pass them through to the server and update them on the client w/o the use of submit. Is it possible to gather the information from the client, pass the variables to the server and return them in such a way that the submit event never fires?
 
The way I would implement this is by some creative Javascripting.

Set up a 2D javascript array containing the recordset that you are pulling from the Database.

using DHTML, allow the user to make any changes that they want, only modifing the Javascript array so the changes appear dynamically.

When the user is done, pass the array to an ASP page to make the changes permanent.

If you need some ideas on how to pass arrays from page to page, check this link out:


Hope this helps.
good luck
 
This is a very good suggestion. What I'm also trying to do is to make the page like an actual application. I know this can be done via ASP+/ASP.NET, but until the stable versions of this language appear, I need a way to rig it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top