|
Posted by Brent Baisley on 10/11/05 23:57
As someone else mentioned, this isn't really PHP. You could be using
any server side language. It's really a javascript question.
But to answer your question, the functionality you are looking for
has lately been being solved by using AJAX. Search the list archives
for some links to some quick tutorials on how to implement
Asynchronous JAvascript requests. The X in AJAX is XML, but you don't
have to transfer the data using XML, you can use plain text.
On the server side, PHP can't tell that it is getting a request from
a javascript function, so there's really nothing special to do in PHP.
On Oct 11, 2005, at 4:11 PM, Dan McCullough wrote:
> Its been awhile since I tried this so I was wondering if anyone had
> any luck with this.
>
> I need to get a list of tables from a database, which means I have to
> run a function, I would like to have an onChange event run when I
> change my selection in a select menu, that would send the value for
> the select menu to a php function.
> can that be done?
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
--
Brent Baisley
Systems Architect
Landover Associates, Inc.
Search & Advisory Services for Advanced Technology Environments
p: 212.759.6400/800.759.0577
Navigation:
[Reply to this message]
|