Dave,

try this:

http://javascript.internet.com/buttons/check-all.html#source

cheers,

nelson


----Original Message Follows----
From: "Bosky, Dave" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: CF-Talk <[EMAIL PROTECTED]>
Subject: checking multiple boxes w/single button?
Date: Tue, 09 Jan 2001 15:07:45 -0500
Received: from [207.31.122.140] by hotmail.com (3.2) with ESMTP id 
MHotMailBC24BB6600C2D82197B6CF1F7A8CA38E0; Tue Jan 09 12:11:24 2001
Received: from houseoffusion.com ([207.31.122.140])          by 
www.houseoffusion.com (Post.Office MTA v3.5.3 release 223          ID# 
0-54969U100L100S0V35) with ESMTP id com          for 
<[EMAIL PROTECTED]>;          Tue, 9 Jan 2001 15:18:20 -0500
>From [EMAIL PROTECTED] Tue Jan 09 12:12:02 2001
Message-id: <[EMAIL PROTECTED]>


I have a form containing a dynamic list of checkboxes that
are used to delete messages.  I already have a button that
will delete all checked mail but my question is how do I
make a button that will automatically put a check in each box?
<!-----
<form name="msglist" action="" method="">
        <cfoutput query= "msgs">
        <input type="checkbox" name="MsgsToDelete" value="#MessageNumber#">
        </cfoutput>
<input type="button" value="CheckMail" onClick="checkAll();">
<form>
---->
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to