thanks ! it's exactly that I would like !
On 6 juil, 06:56, francky06l <[EMAIL PROTECTED]> wrote: > Good sample here : > > http://www.devmoz.com/blog/2007/04/04/cakephp-update-a-select-box-usi... > > On Jul 5, 4:53 pm, Jon Molesa <[EMAIL PROTECTED]> wrote: > > > *On Thu, Jul 05, 2007 at 07:36:06AM -0700 ricarou51 <[EMAIL PROTECTED]> > > wrote: > > > > From: ricarou51 <[EMAIL PROTECTED]> > > > To: Cake PHP <cake-php@googlegroups.com> > > > Subject: Select which populate another select > > > Date: Thu, 05 Jul 2007 07:36:06 -0700 > > > > Hello ! > > > > I have a select tag in a view and I would like to populate a second > > > select tag in the same view with the id selected of the first select > > > tag . > > > > It means for example, a select tag with id and province name, and i > > > would like to populate a second select tag with id and town name with > > > the id of province selected before. > > > > How can I do this ? > > > I'm not expert, but the most common method would be to use some > > javascript (AJAX), watch the event for the first select, then populate the > > second. OTOH, post/get could work too. > > > > Thanks > > > -- > > Jon Molesa > > [EMAIL PROTECTED] > > if you're bored or curioushttp://rjmolesa.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---