Does anyone have any experience with how Javascript (coded between the 'head'
tags) works with forms that appear on cflayout tabs? My application gets email
from numerous email accounts and displays each account's emails neatly in a
separate table. I have a javascript function that "selects all" (each email
has a checkbox) for easy mass deletion. This function works just fine in tab1
(regardless of how much I go to other tabs), but doesn't work in any of the
other tabs. So I'm confident that the javascript works, but I can't get it to
work in more than the first tab. Any assistance greatly appreciated. Here's
the javascript:<br> <script type="text/javascript">
//for check all/uncheck all function
function checkall(formname,checkname,thestate){
var el_collection=eval("document.forms."+formname+"."+checkname)
for (c=0;c<el_collection.length;c++)
el_collection[c].checked=thestate
}
</script>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323222
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4