Zifud <zi***@hotmail.com> wrote:
Gumtree wrote: Hi folks, [...]
] The user interface I'm trying to impliment looks a bit like
] this:
]
] Not Chosen Chosen
] .------------. .------------.
] |Item 1 | -> |Item 3 |
] |Item 2 | <- |Item 4 |
] |Item 6 | >> |Item 5 |
] | | << |Item 7 |
] `------------' `------------'
]
] [Submit button]
All works so far, however, items not selected in the right
All what?
The interface: ie, the JS that covers moving items from List 1
to List 2 and back -- individually and groups.
Any bits of code or URL suggestions most appreciated. Thanks.
Perhaps if you post a concise example of what you have done you will
get some help.
There was hardly any point rabbitting on about the code that
works, considering it was irrelevant to the problem. The
question was:
] items not selected in the right hand SELECT menu don't get passed
] as values when submitted. Is there a recommended way to automatically
] select all items in a SELECT menu on the click of the Submit button?
(God only knows why you snipped the question in your reply...)
I can think of at least 4 different ways of
implementing what you describe, all of which may be totally different
to how you have done it.
Not to worry. I ended up redesigning the interface so as to not
need Javascript.
The Javascript would have been prettier UI, but, the replacement
is functional. Quite a relief though not to have to worry about
the idiocies of client browser incompatibilities, the effects of
JS not being enabled on browsers, etc.
All the best.