Well if it were me I'd attach the click event like this:

 if(window.addEventListener) {
   // attach event
   document.getElementById('ca-'+i).addEventListener("click",
function(){checkAll(this)},false);
  }
  else if(window.attachEvent) {
   // attach event
      document.getElementById('ca-'+i).attachEvent("onclick",
function(){checkAll(this)});
  }


On Mon, Jun 1, 2009 at 12:52 PM, Tony <tonyw...@gmail.com> wrote:

>
> http://tonyweeg.com/wtf/test_checkAll.cfm
>
> ok. weirdest thing... this works in IE, however not in chrome or ff.
> whats supps to happen is the check all should check/uncheck all the check
> boxes in that section...
>
> http://bonrouge.com/br.php?page=check_all
> thats the original site... his code works in chrome and FF
> and when i cut and paste his code EXACTLY i can get that to
> work in FF and chrome and IE, but the minute i put my stuff around
> things and change the look etc, no workie in the two best javascript
> enabled browsers in the world??!?!!?
>
> help :)
> thanks!
> tw
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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-community/message.cfm/messageid:297791
Subscription: http://www.houseoffusion.com/groups/cf-community/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5

Reply via email to