And don't forget the 'no-no' of requiring javascript for basic
functionality... Split it onto 2 pages, or have it resubmit to $PHP_SELF
with a hidden field (how about a button that says "Get Cities >>"?) and
populate from there..
If you're hell-bent on having it auto-populate the second select box, may i
request that it also work when JS is turned off?
--
Aaron
----- Original Message -----
From: "Maxim Maletsky" <[EMAIL PROTECTED]>
To: "Boget, Chris" <[EMAIL PROTECTED]>; "'PHP'"
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; "Alexander Deruwe"
<[EMAIL PROTECTED]>
Sent: Monday, July 09, 2001 10:02 AM
Subject: RE: [PHP] HTML/PHP's static state problem.
> That is why I am saying - loading two pages is cooler then do it all on
one.
> Some people are still scratching the web on 28 and 36 K - those gonna get
> sick submitting your form.
>
> Plus a page view.
>
>
>
> Sincerely,
>
> Maxim Maletsky
> Founder, Chief Developer
>
> PHPBeginner.com (Where PHP Begins)
> [EMAIL PROTECTED]
> www.phpbeginner.com
>
>
>
>
> -----Original Message-----
> From: Boget, Chris [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 10, 2001 1:51 AM
> To: 'PHP'; [EMAIL PROTECTED]; Alexander Deruwe
> Subject: RE: [PHP] HTML/PHP's static state problem.
>
>
> > I've done this very thing for a leasing company. I used
> > PHP and MySQL to create a series of arrays in Javascript.
> > When the user clicked on a value in the first combobox I
> > used onClick to call a function which loaded information
> > into the second box.
>
> A definite possibility. The only downside being is if there is
> *alot* of data it'll take a while for the user to DL the page.
>
> Chris
>
>
> --
> 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: [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: [EMAIL PROTECTED]