At 7:23 PM -0400 5/30/10, Alice Wei wrote:
Tedd,
Looks like I finally found the answer to my question, and the key
is the term, dependent drop down menu. There is an example that I
found here,
http://www.huanix.com/files/dependent_select/dependent_select.txt,
and after editing everything, looks like what I want is not so far
to reach. As I am writing now, I got the code I desired to work
after studying what went on in the code from the above link.
Thanks for your help, and looks like I solved the problem, I may be
able to close the thread now.
Alice
Alice:
An interesting solution.
I tested it here:
http://php1.net/a/ajax-select-db
The database needs a little work -- I wasn't aware that Virginia was
a State in Germany. :-)
It also needs a little work when someone changes an intermediate
selection to null the ones further down the chain -- it only goes one
deep.
The control also uses GET when I think POST would work better -- at
least it would hide the inner-workings of the control from the user.
However, if that was what you were looking for then great.
Good luck and thread closed.
Cheers,
tedd
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php