Open Source & Stuff  
  |     Main Site     |      Forum     |     Contact     |
Ajax Linked Select boxes :  forum.Salix.gr forum.Salix.gr
Comments, questions, usage, bugs. 
Goto Thread: PreviousNext
Goto: Forum ListMessage ListNew TopicSearchLog In
messagelinked select boxes multiple
Posted by: jernej.pristavec (IP Logged)
Date: December 16, 2007 07:59PM

Is it possible to have linked select box with multiple turned on?

<select multiple name=customer[] size=5>
<option value=3>xxx</option>
<option value=4 selected>yyy</option>
<option value=5 selected>zzz</option>
</select>

<select multiple name=project[] size=5>
<option value=56>proj1</option>
<option value=44 selected>proj3</option>
<option value=88 selected>proj5</option>
</select>

with customer and project linked

messageRe: linked select boxes multiple
Posted by: panos (IP Logged)
Date: December 26, 2007 01:19PM

Sorry but not. Queries and params become complex.

Best wishes for the season.

Panos

messageRe: linked select boxes multiple
Posted by: calavera (IP Logged)
Date: April 22, 2008 05:12PM

Hello. I know this is old but i was wondering if we can make it to getElementById instead of the name. This way we could process the name[] in our PHP scripts... Is that possible ? Thank you.

messageRe: linked select boxes multiple
Posted by: panos (IP Logged)
Date: May 13, 2008 08:35AM

Sorry, sorry and sorry.
I've never let a post without an answer for so long.

Orthodox Easter was in the way and kept me busy.

Yes i think with some work it can be changed to use getElementById cant tell what has to change and cant tell why i made it work with name...

But I will have a look at it.

Best regards
Panos

messageRe: linked select boxes multiple
Posted by: panos (IP Logged)
Date: May 13, 2008 08:50AM

I am back
Looked at the class and i am sure that you can use names like name[]
it gets elements using prototype's $ function.
So i think it is safe to have such names.

Panos

messageRe: linked select boxes multiple
Posted by: calavera (IP Logged)
Date: May 13, 2008 06:53PM

Thank you very much for your interest. Currently, I am taking a break in developing my projects. It could take a while, I haven't been up to date with the script. I will take a look and try to make it work as soon as I can. Thank you again for your help, we'll talk about this in a while.

With respect,
Calavera



Sorry, only registered users may post in this forum.

All Rights Reserved 2006 Salix.gr  |  Design by Ades Design |  Hosting by e-emporio |  forum.Salix.gr powered by Phorum