Could it be that you are missing </option> in both the select lists?

Dominic


On 03/10/2007, Toby King <[EMAIL PROTECTED]> wrote:
>
> Hi there
>
> I have a piece of code that doesnt seem to be working and at present I
> cant fathom why not.  Well part of it is working but I'm stuck on finalising
> getting it finished.
>
> Basically I am placing 2 boxes on the screen - a list of names in the left
> box and an empty box on the right.  A user can click on a name in the left
> box and move the name to the right.
>
> I'm struggling with how to use the names in the right hand side box.
>
> Here is the code that I have so far:
>
> <select name="available" size="10" style="width:200;"
> onChange="moveOver();">
>                        <cfloop query="getpeople">
>                            <option value="#people_id#">#People_LastName#,
> #People_FirstName#
>                        </cfloop>
>                    </select>
>
>                    <cfset selectedpeople = "">
>                    <select multiple name="choiceBox" style="width:200;"
> size="10">
>                            <cfloop query="getselectedpeople">
>                                <cfset selectedpeople =
> listappend(selectedpeople, people_id, ";")>
>                                <option
> value="#people_id#">#People_LastName#, #People_FirstName#
>                            </cfloop>
>                    </select>
>
> Any tips would be greatfully received.
>
> Regards
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290079
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to