You bet :) It's a half decent jumping off point anyhow. On Wed, Apr 28, 2010 at 3:11 AM, John Andersen <[email protected]>wrote:
> Ok, looks like Ed gave you a better answer than mine, thanks Ed :) > Enjoy, > John > > On Apr 28, 10:10 am, John Andersen <[email protected]> wrote: > > Thanks, then I assume that you want to gather the value from each of > > the select fields and send them using ajax to the server, am I > > correct? > > > > Assuming I am correct :) I would use javascript to get the value from > > each select field, probably the select fields should have an ID each, > > or the container DIV should have one, then based on that, gather the > > values, and send them to the server. > > > > I am not fluent in javascript, but it should be easy to find some > > examples that you may be able to modify slightly. > > Hope this helps you on the way, > > John > > > > On Apr 28, 9:28 am, MANOJ DHAMAL <[email protected]> wrote: > > > > > Hi, > > > I am using three combobox in .ctp file. > > > Like > > > <?php echo $form->select('category_id',$category_options, > > > > $category_selected,array('id'=>'category','class'=>'search_input'),false); ? > > > > > <?php echo $form->select('type_id',$type_options, > > > $type_selected,array('class'=>'search_input'),false); ?> > > > > > <?php echo $form->select('sortby_id', > > > $sort_by,null,array('id'=>'sortby'),false); ?> > > > > > For third combo i m using ajax, so i used observeField method to find > > > change at state of third combo which calls action > > > sort_property_searchresult like.. > > > > > <?php echo $ajax->observeField('sortby',array('url'=>'/properties/ > > > sort_property_searchresult','update'=>'property_showcase_table'));?> > > > > > At sort_property_searchresult() i want fetch values of all comboboxes > > > like > > > > > $category=$this->data['Property']['category_id']; > > > > > $type=$this->data['Property']['type_id']; > > > > > $sortbyvalue=$this->data['Property']['sortby_id']; > > > > > But i found value of $sortbyvalue, so please tell me how to fetch > > > values of all comboboxes? Thanks.. > > > > [snip] > > > > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others > with their CakePHP related questions. > > > > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected]<cake-php%[email protected]>For > > more options, visit this group athttp:// > groups.google.com/group/cake-php?hl=en > > Check out the new CakePHP Questions site http://cakeqs.org and help others > with their CakePHP related questions. > > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<cake-php%[email protected]>For > more options, visit this group at > http://groups.google.com/group/cake-php?hl=en > Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] 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
