Andy, Call the following function when the multiple selector (css class: multiSelect) changes, and the single select fields (class singleSelect) will change accordingly (if value is present).
function go() { $(".singleSelect").each( function() { $(this).val( $(".multipleSelect").val() ); }); } Only 'tested' in FF, if tested at all ;) Miel -----Oorspronkelijk bericht----- Van: [EMAIL PROTECTED] namens Andy Matthews Verzonden: di 24-10-2006 18:28 Aan: [jQuery] Onderwerp: [jQuery] Updating multiple select fields at once I've got a page which allows a user to set profiles for hours of the day. There are a LOT of dropdowns on this page and I've had some users which say they want to set all the dropdowns to a specific value. Setting them all manually would take a few minutes of time. So the users want to know if they can set all to a certain value at one time. I'm already using jQuery on this site for various things. I'm wondering if I can add one more dropdown which might read "Set all values to: [select box] [go]". The only select boxes on this page are in the app so I suppose I could get all select boxes and set the option to the value of the "All" dropdown. I'm going to try to do it myself, but does anyone have an idea how to accomplish this? <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --------------//---------> _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
<<winmail.dat>>
_______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/