*On Thu, Jul 05, 2007 at 07:36:06AM -0700 ricarou51 <[EMAIL PROTECTED]> wrote:
> From: ricarou51 <[EMAIL PROTECTED]> > To: Cake PHP <[email protected]> > 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 curious http://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 [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 -~----------~----~----~----~------~----~------~--~---
