You will need.to.use js helper here I suppose you are using cake 2.0 see this link http://itfeast.blogspot.in/2013/06/cakephp-20-create-0bserve-field.html?m=1 On 26-Sep-2013 5:33 AM, "Raks" <[email protected]> wrote:
> Hi, > > I have a sql table having columns id, parent_id and title. All items with > with parent_id =0 are parents and should appear in a dropdown list. That I > have done. Now I want another dropdown that on selection of parent, shows > all the children of that parent. I am working on cakephp MVC framework. > There's only one database table so having a controller , model for that > and have to have both the drop down in same view. > Like on selection of first value, second dropdown should show only the > child elements of that parent to select. > > Any help. > > Thanks > > -- > Like Us on FaceBook https://www.facebook.com/CakePHP > Find us on Twitter http://twitter.com/CakePHP > > --- > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/cake-php. > For more options, visit https://groups.google.com/groups/opt_out. > -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/groups/opt_out.
