I got this taken care of. jQuery makes it SOOO easy.
function changeAll() {
var theValue = $('#setallvalues').val();
$('select').val(theValue);
}
<!----------------//------
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--------------//--------->
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Andy Matthews
Sent: Tuesday, October 24, 2006 11:29 AM
To: [jQuery]
Subject: [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
[email protected]
http://jquery.com/discuss/
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/