By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,053 Members | 1,125 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,053 IT Pros & Developers. It's quick & easy.

dynamic drop down menu

P: n/a
How can i make a drop down menu that are dynamiclly generated base on
the value selected in another drop down menu?

thanks nad regards

Jorn
Jul 17 '05 #1
Share this Question
Share on Google+
7 Replies


P: n/a
Hi,

On 19 Apr 2004 21:24:20 -0700, jo****@yahoo.com (jo****@yahoo.com)
wrote:
How can i make a drop down menu that are dynamiclly generated base on
the value selected in another drop down menu?
Do you want it woth or without a page reload?

With:

Lookup how to do a dynamic dropdown (from a database I presume) and
add the posted value from the other dropdown to the database query.

Without:

PHp is server-side, try JavaScript

HTH,

Jochen
thanks nad regards

Jorn


--
Jochen Daum - Cabletalk Group Ltd.
PHP DB Edit Toolkit -- PHP scripts for building
database editing interfaces.
http://sourceforge.net/projects/phpdbedittk/
Jul 17 '05 #2

P: n/a
how to use javascript to generated drop down menu from data in mysql database?

thanks and regard

Jorn
Jul 17 '05 #3

P: n/a
Can you give more detail about your situation?
How can i make a drop down menu that are dynamiclly generated base on
the value selected in another drop down menu?

thanks nad regards

Jorn

Jul 17 '05 #4

P: n/a
Hi,

On 20 Apr 2004 03:35:28 -0700, jo****@yahoo.com (jo****@yahoo.com)
wrote:
how to use javascript to generated drop down menu from data in mysql database?

Generate the dropdowns with PHP, but also generate the appropriate
Javascript.

Jochen
--
Jochen Daum - Cabletalk Group Ltd.
PHP DB Edit Toolkit -- PHP scripts for building
database editing interfaces.
http://sourceforge.net/projects/phpdbedittk/
Jul 17 '05 #5

P: n/a
"Jochen Daum" <jo*********@cabletalk.co.nz> wrote in message
news:fq********************************@4ax.com...
Hi,

On 20 Apr 2004 03:35:28 -0700, jo****@yahoo.com (jo****@yahoo.com)
wrote:
how to use javascript to generated drop down menu from data in mysql database?

Generate the dropdowns with PHP, but also generate the appropriate
Javascript.

Jochen
--
Jochen Daum - Cabletalk Group Ltd.
PHP DB Edit Toolkit -- PHP scripts for building
database editing interfaces.
http://sourceforge.net/projects/phpdbedittk/


Or generate all possible drop-downs through PHP, then show and hide them
using Javascript.
Jul 17 '05 #6

P: n/a
> Can you give more detail about your situation?

i am creating a ecommerce website that sell holiday package, when a
customer select a package it can chose the hotel it want if there is
more than one available then they can select from the types of room
the hotel has.
Jul 17 '05 #7

P: n/a
try google and search for "jsrs" (javascript remote scripting)

<jo****@yahoo.com> schrieb im Newsbeitrag
news:e9*************************@posting.google.co m...
Can you give more detail about your situation?


i am creating a ecommerce website that sell holiday package, when a
customer select a package it can chose the hotel it want if there is
more than one available then they can select from the types of room
the hotel has.

Jul 17 '05 #8

This discussion thread is closed

Replies have been disabled for this discussion.