Ask a Question related to ASP Components, Design and Development.
-
Andrew #1
Pass vbscript array contents to page
Hi I have a page with a form and a results page.
My form: <form name = "theform" action="results.asp" method="post">
Part of the form is 5 dropdown boxes, which the user selects a value
from and clicks a button. Clicking the button adds the 5 values to a 2
dimensional array, and each line of the array is then displayed in a
select box with each element seperated with || such as 1||2||3||4||5.
My array:
redim preserve empnum(5,z)
empnum(0,z)=document.theform.injured.value
empnum(1,z)=document.theform.mechanism.value
empnum(2,z)=document.theform.agency.value
empnum(3,z)=document.theform.bodypart.value
empnum(4,z)=document.theform.nature.value
empnum(5,z)=document.theform.treatment.value
The results page is a check for the user before they submit the data
to the database. I have the rest of results from the form displaying
on the results page, but how can I display the contents of the array
on the results page???
A little help would be much appreciated.
Andrew Guest
-
CFC array pass a URL?
Can you pass a hyperlink as a varaible in an array using CFC and Flash? In other words, I am trying to pass a hyperlink from a CFC to Flash using... -
How to get back Session.contents to Array
For example, Dim Somedata(911),Backdata(911) Somedata(1)=somevalue1 Somedata(2)=somevalue2 Somedata(3)=somevalue3 ....... ... -
C++ asp component reading vbscript array
have some C++ component that expects two arrays from an ASP script. It's declared like this: HRESULT QueryResult::sort(TVariant sortFields,... -
can Session.Contents can be a string array?
Hello, My script builds a list of files in a folder. These files are stored in an 2-dimensional array, called "a_files". To speed up the... -
Passing an array from codebehind to vbscript
Client-side scripting is part of the HTML of the page. All you have to do is loop through the array and build a string of JavaScript that creates...



Reply With Quote

