After all the extremely helpful advice from people on this list, I came up 
with the following function:

<cfoutput>
        <SCRIPT language="JavaScript">
                function resetSelected(startPosition)
                {
                        var currentSelection = 'SurveyID' + startPosition;      
                        var nextPosition = startPosition;
                        var nextSelection = 'SurveyID' + nextPosition;
                        var maxNumberOfSelects=#GetEvaluatorinfo.RecordCount#;
                        while (nextPosition <= maxNumberOfSelects){
                                nextSelection = 'SurveyID' + nextPosition;
                                document.SelectEvaluators[nextSelection].selectedIndex 
= 
document.SelectEvaluators[currentSelection].selectedIndex;
                                nextPosition++;
                        }
                }
        </SCRIPT>
</cfoutput>

It appears to do what I want - cycle through all the list boxes below the 
one I just changed and set them to the same option as the one I just 
changed.  If anyone sees any problems with it, let me know.

T

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to