• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Mangling the Selected Option in A Form

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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:
http://www.bigblogzoo.com/animalview.php?levone=one

Then the second does as well:
http://www.bigblogzoo.com/animalview.php?levone=one&levtwo=one.one

Now the third one is the problem:
http://www.bigblogzoo.com/?choiceX=http%3A%2F%2Fwww.bigblogzoo.com%2Fanimalview.php%3Flevone%3Done&choiceY=http%3A%2F%2Fwww.bigblogzoo.com%2Fanimalview.php%3Flevone%3Done%26levtwo%3Done.one&choiceZ=one.one.one

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:

http://www.bigblogzoo.com/animalview.php

thanks

kent
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You want the text? Is that what this whole question was about?



Eric
 
ronald gibson
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In the end yup, all I needed was the text.

I was not sure when I had the text I would know what to do with it, so I explained the whole problem.

Thanks
 
I want my playground back. Here, I'll give you this tiny ad for it:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic