I think for IEE you have to replace the complete select, not only the
options

On Oct 24, 5:15 pm, Guido <[EMAIL PROTECTED]> wrote:
> Hi,
> I use the AJAX-helper and Script.aculo.us to load the options for a
> selecbox2 which depends on the value in selectbox1.
>
> // view code
> echo $form->select('select1', $select1, null, array('id' => 'select1',
> 'class' => 'form-select'));
> echo $form->select('s2', null, null, array('id' => 'select2', 'class'
> => 'form-select'));
> echo $ajax->observeField('select1', array('url' => '/ajaxtest/
> getOptions','update' => 'select2'));
>
> With Opera, Firefox and Safari everythings works fine, but not with
> IE6 and IE7. IE sends the HTTP-Request and gets also the right answer
> from the server. But the loaded options does not appear in selectbox2.
> But it's possible to output the loaded options in a div container.
> I've tried Script.aculo.us 1.6 and 1.7.
>
> The output from /ajaxtest/getOptions is:
> <option value="1">Frau</option><option value="3">Frau & Herr</
> option><option value="2">Herr</option><option value="8">Liebe Frau
> XYZ</option><option value="10">Liebe XYZ</option><option
> value="9">Lieber Herr XYZ</option><option value="11">
>
> Any Ideas? I'm not sure if this a problem of Script.aculo.us or a
> problem with Script.aculo.us integration in Cakephp. Maybe somebody
> had the same problem in the past?
>
> Guido


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to