Thanks for your response.
I have proved it but it does not work. Anyone has made something
similar what I want to do?
On 10 dic, 10:21, "dr. Hannibal Lecter" <[EMAIL PROTECTED]> wrote:
> On Dec 9, 4:45 pm, dandreta <[EMAIL PROTECTED]> wrote:
>
> > Thanks for your response.
> > But I dont understa
On Dec 9, 4:45 pm, dandreta <[EMAIL PROTECTED]> wrote:
> Thanks for your response.
> But I dont understand how I can do this.
> Can you explain me, please?
> Regards
I'm assuming you're using javascript for item switching, so setting
select.options[index].selected to true would do the trick.
Ther
On 6 dic, 19:19, dandreta <[EMAIL PROTECTED]> wrote:
> I have an HABTM relation between ModelA and ModelB.
> In the add view of A, I have created two lists, 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
Thanks for your response.
But I dont understand how I can do this.
Can you explain me, please?
Regards
On 7 dic, 12:16, Serge Rodovnichenko <[EMAIL PROTECTED]> wrote:
> Try to set/reset a 'selected' attribute of OPTION when moving options
> between two lists.
>
> On Dec 6, 9:19 pm, dandreta <[EMA
Try to set/reset a 'selected' attribute of OPTION when moving options
between two lists.
On Dec 6, 9:19 pm, dandreta <[EMAIL PROTECTED]> wrote:
> I have an HABTM relation between ModelA and ModelB.
> In the add view of A, I have created two lists, one with all B
> elements of the database and ot
I have an HABTM relation between ModelA and ModelB.
In the add view of A, I have created two lists, 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 relate