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!

Special Handling of Form Parameters

Status
Not open for further replies.

kentusha

Programmer
May 18, 2005
8
0
0
DE
hi-ya guys,

I must say I have respect for javascript programmers, I find it tough as nails.

Alrighty here is what I am doing:

I have three combo boxes. When you make a selection from combo box 1, it sends an sql query and populates box two, when you make a selection in box two it sends a query and populates box three.

Each of the box has an option - 'other please specify'.

The last box has a submit button, so that the user can reconsider all of the options. This last box is the problem.

The first box sends a get:

Then the second does as well:

Now the third one is the problem:

the sumbit sends the values of the previously chosen textboxes, which are urls. I was using a jumpto for the other boxes.

Not what I want I would like is to always send the values inside the combo boxes as parameters, not neccessarily the value of the value field. But frig mich i can't even find how to select the text inside the friggen combo box.

if anyone would help I would be grateful.

If any of this was not clear the problem is online at:


thanks

kent
 
figured it out.

I need the .text attribute, ie:

form1.options[form1.selectedIndex].text;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top