[thelist] ajax dynamic dropdown menu set

Simon MacDonald simonmacdonald at uk2.net
Thu Jul 29 05:04:16 CDT 2010


Bob,

Have you looked at the Mootools Clientcide Libraries, they have some neat
widgets for menus and forms ( menu dropdowns, product picker) that may help
with what you a looking for. Originally developed for CNET by Aaron Newton
who now maintains it independently - Aaron is a key Mootools developer.

They look great as well.

http://www.clientcide.com


Cheers

Simon

-----Original Message-----
From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org] On Behalf Of Bob Meetin
Sent: 29 July 2010 1:53 AM
To: thelist at lists.evolt.org
Subject: Re: [thelist] ajax dynamic dropdown menu set

Hassan Schroeder wrote:
> On Wed, Jul 28, 2010 at 12:49 PM, Bob Meetin <bobm at dottedi.biz> wrote:
>   
>> I've just started working on setting up an ajax dropdown menu set using
data
>> coming from a mysql table.  I got the code off
>> http://www.plus2net.com/php_tutorial/dd3.php.  Their demo works
perfectly.
>>  When you click submit the output test shows the 3 values selected for
cat,
>> subcat and subcat3.
>>     
>
> Uh, well. There's no "AJAX" going on in that demo -- it's just submitting
> the values each time you change a SELECT's value. Use Firebug to
> check the network traffic.
>
>   
>> Second problem) Rather than treating it like ajax
>>     
>
> See #1  :-)
>
> I'm not familiar with mootools -- is that a requirement for your project?
> If so, I'm sure there's a library function to make AJAX requests easier
> (and unobtrusive).
>
> Also, the test page has an entire HTML document inside a table cell (!)
> which probably isn't intentional -- e.g.
>
>  <table class="contentpaneopen">
>  <tr>
>  <td valign="top">
>  <!doctype html public "-//w3c//dtd html 3.2//en">
>  <html>
>  <head>
>  <title>Demo of Three Multiple drop down list box from plus2net</title>
>
> That won't be helping any JS-related development or troubleshooting!
>
> HTH,
>   
Hassan,

Well...er... yes.  Thanks. When I googled this yesterday I grabbed the 
code from one of the promising looking results, not realizing it wasn't 
ajax.  So I went back to the drawing board, did some additional searches 
and found a couple more options.  It does not matter so much whether tis 
ajax or not, so long as it does the job. It was my mistake in not 
deleting the extra doctype stuff when I copied/pasted, but anyhow I have 
an option now that appears to work within Joomla.

http://jtest.us/index.php?option=com_content&view=article&id=93&Itemid=57

Mootools is a set of javascript library stuff that you'll commonly find 
in Joomla installs, sometimes with jQuery as well.  They seem to be 
happily coexisting.

-- 
Bob Meetin

-- 

* * Please support the community that supports you.  * *
http://evolt.org/help_support_evolt/

For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt ! 
 

__________ Information from ESET Smart Security, version of virus signature
database 5321 (20100728) __________

The message was checked by ESET Smart Security.

http://www.eset.com
 
 

__________ Information from ESET Smart Security, version of virus signature
database 5322 (20100729) __________

The message was checked by ESET Smart Security.

http://www.eset.com
 



More information about the thelist mailing list