beautiful!
I modified it a little to:
function jqCheckAll3(id,name) {
 $("input[name='" + name + "']").each(function() {
   $(this).attr('checked', $('#' + id).is(':checked'));
 })
}

so it follows the checkbox beside the states. Thanks!!!

On Fri, Apr 15, 2011 at 12:09 PM, Steve Milburn <[email protected]> wrote:
> function jqCheckAll2(id,name) {
>  $("input[name='" + name + "']").each(function() {
>    $(this).attr("checked",true);
>  })

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343755
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to