Click to See Complete Forum and Search --> : How to post form agian and again..


tejalm
March 26th, 2006, 11:58 PM
Hi,
I have one text file which is in tab delimited format and it’s 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....

PeejAvery
March 29th, 2006, 10:11 PM
I am just a little confused. Why do you want to input this data from your hard drive? What will submitting this form do? Does it post to a database?

tejalm
March 30th, 2006, 06:14 AM
Hi,
Ya I want data in database. And when ll get this I will update One site's Database also....

PeejAvery
March 31st, 2006, 12:28 AM
Is this database on a server you have access to or is this a batch input you want to do onto some server across the internet?