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

submit form multiple times with different get string

Status
Not open for further replies.

lfast

IS-IT--Management
Apr 16, 2002
16
0
0
US
I have this problem:

I am trying to change one value on a form, and then send
it back to the server . The server in turn will automatically (as it is written now) generate a unique id
and write the file.

if the url is file://c:\test.html?prognum=115

then I want the form that is within that test.html file
to save

in the <type input=text name=prog, etc. etc. >

I want to be able to do this in javascript:

document.TheForm.prog.value= the url value for prognum

I either want to do do that , or have a loop with an array
of values

that says :
prognum[1]=&quot;hello&quot;; prognum[2]=&quot;world&quot;; etc . .
for (i=1; i<=21; i++)
{
document.TheForm.prog.value=prognum
submit form
}


Anotherwards I am trying to write to a combo box with multiple values and have the form submitted each time...

I'd also settle to do it in VB ...

I've tried it in VB.. but i'm not sure how I would
dummy a form and post it to the server... that might be
the easiest bet come to think of it.

any help would be appreciated!

Thank you,

David Brook
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top