RE: [PHP] dynamic drop down

2005-06-06 Thread Richard Lynch
On Mon, June 6, 2005 2:34 pm, Chris W. Parker said: > Danny Brow > on Saturday, June 04, 2005 2:45 PM said: > >> So how do you refresh the page when the drop down is selected? > > With javascript or force the user to click a submit button. To be clear, and forestall

Re: [PHP] dynamic drop down

2005-06-06 Thread Denyl Meneses Guillén
in the drop down look up : onChange="your java script " - Original Message - From: "Chris W. Parker" <[EMAIL PROTECTED]> To: "Danny Brow" <[EMAIL PROTECTED]>; "PHP-Users" Sent: Monday, June 06, 2005 2:34 PM Subject: RE: [PHP] dyn

RE: [PHP] dynamic drop down

2005-06-06 Thread Chris W. Parker
Danny Brow on Saturday, June 04, 2005 2:45 PM said: > So how do you refresh the page when the drop down is selected? With javascript or force the user to click a submit button. Chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:/

RE: [PHP] dynamic drop down

2005-06-04 Thread Danny Brow
> So how do you refresh the page when the drop down is selected? Thanks, Dan. > -Original Message- > From: Danny Brow [mailto:[EMAIL PROTECTED] > Sent: 01 June 2005 07:08 > To: PHP-Users > Subject: Re: [PHP] dynamic drop down > > > On Tue, 2005-05-31 at 22:

RE: [PHP] dynamic drop down

2005-06-02 Thread Mark Rees
Subject: Re: [PHP] dynamic drop down On Tue, 2005-05-31 at 22:08 -0700, Richard Lynch wrote: > On Tue, May 31, 2005 8:48 pm, Danny Brow said: > > Could someone point me to an example with code for dynamic drop > > downs in PHP? I would like to be able to have drop downs like >

Re: [PHP] dynamic drop down

2005-06-01 Thread Danny Brow
On Tue, 2005-05-31 at 22:08 -0700, Richard Lynch wrote: > On Tue, May 31, 2005 8:48 pm, Danny Brow said: > > Could someone point me to an example with code for dynamic drop downs in > > PHP? I would like to be able to have drop downs like "Select Country" > > and another drop down show the states/p

Re: [PHP] dynamic drop down

2005-05-31 Thread Richard Lynch
On Tue, May 31, 2005 8:48 pm, Danny Brow said: > Could someone point me to an example with code for dynamic drop downs in > PHP? I would like to be able to have drop downs like "Select Country" > and another drop down show the states/provinces based on the selected > country. Well, the "dynamic" p

[PHP] dynamic drop down

2005-05-31 Thread Danny Brow
Could someone point me to an example with code for dynamic drop downs in PHP? I would like to be able to have drop downs like "Select Country" and another drop down show the states/provinces based on the selected country. Thanks, Dan. signature.asc Description: This is a digitally signed message

RE: [PHP] dynamic drop down

2002-04-23 Thread Leotta, Natalie (NCI/IMS)
Jhunjhunwala Cc: php-list Subject: Re: [PHP] dynamic drop down On Tuesday, April 23, 2002, at 07:01 AM, Kunal Jhunjhunwala wrote: > I am trying to make a drop down list such that, when some one selects > an option, it refreshs and displays the option on the same page. There > are a c

Re: [PHP] dynamic drop down

2002-04-23 Thread Erik Price
On Tuesday, April 23, 2002, at 07:01 AM, Kunal Jhunjhunwala wrote: > I am trying to make a drop down list such that, when some one selects an > option, it refreshs and displays the option on the same page. There > are a > couple of things already in the URL [ the query string ], which need to

Re: [PHP] dynamic drop down

2002-04-23 Thread Justin French
Are you talking about refreshing/dynamicly modifying the pull-down (client side, javascript), or refreshing the page (server side, php)?? You can set a pull down to submit the form onchange, (check out javascript sites for this FAQ) and the action of your form would be something like (untested):

Re: [PHP] dynamic drop down

2002-04-23 Thread esivertsen
Hi Kunul, I think I have code that does what you want: function QuickJumpSelect($name="", $optionvalues, $optionnames, $stylestr="") { ($stylestr != "")? $style = $stylestr : $style = ""; // Calculate stuff $count = co

[PHP] dynamic drop down

2002-04-23 Thread Kunal Jhunjhunwala
Hey, I am trying to make a drop down list such that, when some one selects an option, it refreshs and displays the option on the same page. There are a couple of things already in the URL [ the query string ], which need to remain there. How would I do this easily? Regards, Kunal Jhunjhunwala "Mi

RE: [PHP] Dynamic Drop-down list

2001-02-08 Thread Jason Murray
> more clearly, if multiple instances occur, any new instance > of SELECTED will supersede any previous instance. In MSIE, yeah. Netscape ignores any subsequent SELECTED's. Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

RE: [PHP] Dynamic Drop-down list

2001-02-08 Thread DanO
nce. DanO -Original Message- From: DanO [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 08, 2001 5:25 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] Dynamic Drop-down list wrong. you can put it on any element in the list. cut'n'paste and try for yourself: selected DanO -

RE: [PHP] Dynamic Drop-down list

2001-02-08 Thread DanO
AIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 08, 2001 6:05 PM Subject: RE: [PHP] Dynamic Drop-down list > > the 'SELECTED' attribute will select an item in a dropdown list. > > by default, with no SELECTED attribute, the first item will be shown an

Re: [PHP] Dynamic Drop-down list

2001-02-08 Thread Todd Cary
Many thanks! Works like a champ now... Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAI

Re: [PHP] Dynamic Drop-down list

2001-02-08 Thread Nathan Cook
o: <[EMAIL PROTECTED]> Sent: Thursday, February 08, 2001 6:05 PM Subject: RE: [PHP] Dynamic Drop-down list > > the 'SELECTED' attribute will select an item in a dropdown list. > > by default, with no SELECTED attribute, the first item will be shown and > selecte

RE: [PHP] Dynamic Drop-down list

2001-02-08 Thread DanO
To: [EMAIL PROTECTED] Subject: [PHP] Dynamic Drop-down list I create a Drop-down from a DB table. All works as expected *except* the default item (the one showing to the surfer) is the last in the list. Is there a way I can have the first item show? Todd /* Make a drop-down */ function mak

[PHP] Dynamic Drop-down list

2001-02-08 Thread Todd Cary
I create a Drop-down from a DB table. All works as expected *except* the default item (the one showing to the surfer) is the last in the list. Is there a way I can have the first item show? Todd /* Make a drop-down */ function make_dropdown($ddName, $itemList, $first) { if (count($i