Re: two combo boxes
| From: | Matt McClanahan | Date: | Wed, 19 Jul 2000 02:51:13 +0000 |
| Subject: | Re: two combo boxes | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-7205@lists.php.net to get a copy of this message | ||
On Tue, 18 Jul 2000, news.php.net wrote:
> I would like to do what they do on the HP printer driver download page.
> >From the first combo box I select a type of printer.
> The second combo box appears and is dynamically loaded with the printer
> models that match the type I just selected.
> Does this have to be done with javascript or can sessions help somehow?
> How to make this happen in PHP4?
It's all about JavaScript. Or maybe DHTML, I don't know enough about that
to speak on it or not. But I assure you it's not PHP, nor do sessions
have anything to do with it. PHP is completely server-side. As such, it
can't in any way directly manipulate a web page after it's been sent to
the browser. That's what JavaScript is for, after all.
Matt