On 21 ene, 18:05, dandreta <[EMAIL PROTECTED]> wrote:
> Any suggestion please?
>
> On 19 ene, 14:03, dandreta <[EMAIL PROTECTED]> wrote:
>
> > Hi!
> > I have an HABTM relation  between ModelA and ModelB.
> > In the add view of A, I have created two lists(two multiple selects),
> > one with all B
> > elements of the database and other one empty . I pass elements of the
> > first list to the second one with javascript and the second list will
> > contain the B elements that will be related to the A element which I
> > am creating.
>
> > The problem is that in order that controllerA obtains
> > the B elements of the second list I must select them with the mouse.
> > Then
> > it saves the relations ok. But, if I only pass elements to second list
> > (and I don't click them with the mouse) the relations do not save.
> > But, anyone knows how I can achieve that the elements of the second
> > list do not have to be selected with the mouse?
>
> > Has anyone do something similar?
> > Any suggestion or help?
> > Thanks and regards
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to