How to use same id's?

How to use same id's?

I habe this part of JQuery. It only effects the ditst td id cnc and no other id's with the same name. Any suggestions how to solve this?

  1. <script src="http://code.jquery.com/jquery-latest.min.js"
  2.     type="text/javascript"></script>
  3.     <script type="text/javascript">
  4.         $(document).ready(function() { 
  5.        $('table#pl td#cnc').hide(); 
  6.                     
  7.             $('#hide_cnc').click(function() { 
  8.                 if ($(this).attr('checked')) 
  9.                 { 
  10.                     $('table#pl td#cnc').show(); 
  11.                 } 
  12.                 else 
  13.                 { 
  14.                     $('table#pl td#cnc').hide(); 
  15.                 } 
  16.             }); 
  17.         }); 
  18. </script>