Re: Creating drop-down menus

From: Date: Tue, 17 Jul 2012 21:47:00 +0000
Subject: Re: Creating drop-down menus
Groups: php.general 
Request: Send a blank email to php-general+get-318501@lists.php.net to get a copy of this message
On 17 Jul 2012 at 21:58, Paul M Foster <paulf@quillandmouse.com> wrote: > On Wed, Jul 18, 2012 at 08:45:34AM +1200, James Newman wrote: > >> Just to put my 2cents in, you might want to try jQuery if you're going to >> go down the AJAX road. > > JQuery is a LOT of code to include if you're just going to do an AJAX > call or two. There are examples of doing straight AJAX with Javascript > on the 'Net. Once you work through them, you find that there's a > "static" part that you can include in all the files you want to make > AJAX calls. And then there's the part that deals directly with the data > you get back from whatever PHP or other script is feeding you data from > outside the website. That's the part that needs custom work. I *hate* > Javascript, but I managed to figure it out. I agree about JQuery. You can look here: http://www.clothears.org.uk/examples-ajax.php to see a simple example of how to use AJAX. -- Cheers -- Tim

« previous php.general (#318501) next »