Ok, I almost have this working now :D

I have a single select box, and a hidden input. When the single select
box is changed, it runs a js function which then places the value of
the select into the hidden input.

I have used ajax->observeField for that hidden field, to then pull a
list of buildings within that site from the db. With that list, I am
creating a multiple select, from which the user will select various
buildings, and a final multiple select will show the locations within
those buildings.

However, I am a little stumped as to how to get the values from the
multiple select into the hidden field, without looping through the
whole select each time to test if the selected index is true, as that
could slow things down a lot if a lot of selections were made...

This is for an internal website within a company, and is what they
have asked for, I know that this isnt as accessible as some other
possible solutions, but as I say, this is what they want, so this is
what I am going with.

Is there a way to get these without having to loop through the select
every time?

Thanks

Patrick
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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