Page 1 of 1

Drop Down Problem

Posted: Thu Aug 12, 2004 11:23 am
by leewad
Hi

I am trying to create a links directory on a site where people can place there link in a directory, I need to have 2 drop down boxes which pulls from the database.

1st box pulls main categories from database category lets say "property service" ( That is no problem - i can do this )

2nd box then pulls sub directory list from database which is under "property service" ( this needs to be done in realtime with no refresh )

Any body have any ideas ?

Cheers

Posted: Thu Aug 12, 2004 11:26 am
by feyd

Posted: Thu Aug 12, 2004 11:34 am
by leewad
How does that tell you anything about pulling from a database ? It only explains how to add java to a page not content pulled from a database

Posted: Thu Aug 12, 2004 11:38 am
by feyd
you echo out all the options into javascript arrays, so you can alter the internals of the pull downs to display the new information.

Posted: Thu Aug 12, 2004 11:42 am
by leewad
Thanks - thats a bit better that just entering a link

Posted: Thu Aug 12, 2004 11:44 am
by feyd
that was talked about in the linked page. Hence why I didn't feel the need to explain it. Oh well :roll: