JavaScripts Variable in VBScript & more
I want to use arrays and variables which are in JavaScript..
If will get those then i can easily update my Access DataBase...
And How to Read Tabdelimited textfile in ASP..??
Thanks in advance...
Plz hurry...
[229 byte] By [
tejalm] at [2007-11-19 19:48:07]

# 1 Re: JavaScripts Variable in VBScript & more
The only way you will be able to do this is with cookies. Simply set the variable to the cookie using JavaScript and call that variable from the cookie using VBScript on the server side.
# 3 Re: JavaScripts Variable in VBScript & more
Hi,
I have one text file which is in tab delimited format and its on my local drive.
All I want to do on client side only..
Suppose I have 2 lines in text file like::
1\tTest1\t2.5
2\tTest2\t3.1
And I have three hidden fields named as ID, Name, Cost..
Now I want one by one all values to hidden fields. It will come like
ID=1, Name=Test1, Cost=2.5
ID=2, Name=test2, Cost=3.1....
Once I get value from first line I want to submit the form after that second line and that will continue up to all lines will finish.
I have code like this :::
<body>
<form name="f" target="_self" action="https://www.xyz.com" method="post">
<input type="hidden" name="ID" value="">
<input type="hidden" name="Name" value="">
<input type="hidden" name="Cost" value="">
<input type="submit" name="Submit" value="Submit">
</form>
Now how can I do this all using either ASP or JavaScript...