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

posting data

Status
Not open for further replies.

Ouch

Programmer
Jul 17, 2001
159
GB
Hi i need help with posting data

i have select boxes on a page and when you select an item from the list it automatically submits back to itself to update another select box from a query.

what i need to do is take all the other information from the form an post that back to itself so it doesn't clear the input boxes.

any ideas?
 
Easier to do it using Client Side Script. Build a VBScript or Javascript that does a filter for the new drop down boxes, and is fired off of the onChange event of the first drop down box. That way, you never have to go back to the server, and you don't have to repass all that info. The money's gone, the brain is shot.....but the liquor we still got.
 
Well how many different levels of select boxes are we talking about here. I mean if the first one just controls a second, and there are no more levels, then it's different, than if it keeps daisy chaining down the line. The money's gone, the brain is shot.....but the liquor we still got.
 
jsut a note. using Vbscript client side is not a very good idea. There are major browser compatibilty issues in doing this.
Better to use javascript I may not get it the 1st or 2nd time,
but how sweet that 15th time can be.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top