Nope I tried that and it only passes the existing values of the select box when it loads...I think I will have to run another function which will amend the objects values after each up and down but I can't seem to get it working...
-----Original Message----- From: Kola Oyedeji [mailto:[EMAIL PROTECTED]] Sent: 21 February 2003 09:43 To: [EMAIL PROTECTED] Subject: RE: [ cf-dev ] select reorder > passing values Try changing alertText = alertText + dfr.options[i].text+ ","; to alertText = alertText + dfr.options[i].value + ","; Does that work? KOla >> -----Original Message----- >> From: Robertson-Ravo, Neil (RX) [mailto:Neil.Robertson- >> [EMAIL PROTECTED]] >> Sent: 21 February 2003 09:31 >> To: '[EMAIL PROTECTED]' >> Subject: [ cf-dev ] select reorder > passing values >> >> OK, this function works when you are dealing with the select box text >> entries, but not when you are dealing with the values? any ideas? I cant >> seem to get it to pass the values of the select menu via a hidden form >> field! >> >> >> ================================= >> function writeList() { >> >> alertText = ""; >> document. >> >> for (i=0;i<boxLen;i++) { >> alertText = alertText + dfr.options[i].text+ ","; >> >> } >> >> alert(alertText); >> >> // copy all the reordered values into the hidden form field >> //document.forms[0].hidden_list.value = alertText; >> >> >> } >> >> -- >> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ >> >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> For human help, e-mail: [EMAIL PROTECTED] -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
