boxes to it (again using ajax)
in my view file every thing goes fine if i use
///apply.ctp
echo $form->create('User');
echo $form->select('country_id',array($countries),null,array
('id'=>'countries'),false);
echo $form->select('region_id',array(),null,array
('id'=>'regions'),false);
echo $ajax->observeField('countries',array
('url'=>'update_region_select','update'=>'regions'));
but nothing gets updated in state if i am using
//apply.ctp
echo $ajax->form();
echo $form->select('country_id',array($countries),null,array
('id'=>'countries'),false);
echo $form->select('region_id',array(),null,array
('id'=>'regions'),false);
echo $ajax->observeField('countries',array
('url'=>'update_region_select','update'=>'regions'));
is it possible to do this anyway, Please help, Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment