Very nice.

I know it's only a demo but you could reduce size of the JSON
responses by about 60% (or more) if you used smaller key strings,
something like "v" and "t" instead of "optionValue" and
"optionDisplay". For the 2500+ records for NSW it makes a huge
difference.

Like I said, very nice work.

I do so love how jQuery allows you remove all the fluff and you can
just get things done.

Karl Rudd

On 9/27/07, Rob D <[EMAIL PROTECTED]> wrote:
>
> [EMAIL PROTECTED] wrote:
> > Hi all,
> >
> > i'm creating a search interface based on select dropdown methods.. the
> > user selects the option from the first menu and the second is created
> > dynamically using ajax. their is a third option which will be
> > populated based on their selection of the second dropdown. however
> > this does not work... seems the onchange method isn't workin? any
> > ideas guys? here's a snippet of my code
> >
> > <!-- ajax requests for category search -->
> >               $("#jumpMenu").change(function()
> >               {
> >                       var x = $(this).val();
> >                       $.ajax({
> >                               type: "GET",
> >                               url: 
> > "/bookstore/includes/israel_mod/ajax.php",
> >                               data: "type=division&catId=" + x,
> >                               dataType: "html",
> >                               success: function(html){
> >                               $("#department_select").html(html);
> >                               },
> >                               error: function(msg){
> >                       alert( "An Error: " + msg );
> >                               }
> >                       });
> >               });
> >
> >               $("#jumpMenu2").change(function()
> >               {
> >                       var z = $(this).val();
> >                       alert(z);
> >
> >               });
> >
> > NOTE: #jumpMenu2 is the second dropdown that doesn't seem to be taking
> > the change event (i put a test alert, but it doesn't work), this is
> > also the dynamically generated select .. would it be .. because it is
> > appended into the html? any ideas
> >
> > thanks a lot, this has me wtih a massive migraine, can't figure out
> > why it wouldn't accept the onchange funchtion
> >
> > Israel
> >
> >
> Hi Israel
>
> Check out my recently announced plugin called LinkedSelects.
>
> http://www.msxhost.com/jquery/linked-selects/json/
>
> It might be of assistance to you!
>
> Cheers
>
> Rob
>

Reply via email to