how to select which doesn't has any input child

how to select which doesn't has any input child

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <script src="js/jquery-1.4.2.min.js"></script> 
  5. </head>
  6. <body>
  7. <table width="100%" border="1">
  8. <thead>
  9. </thead>

  10. <tbody>
  11. <tr>
  12. <td>
  13. <input type="checkbox" id="del[]" value="1">
  14. </td>
  15. <td>alert</td>
  16. <td>alert</td>
  17. </tr>
  18. <tr>
  19. <td>
  20. <input type="checkbox" id="del[]" value="2">
  21. </td>
  22. <td>alert</td>
  23. <td>alert</td>
  24. </tr>
  25. </tbody>

  26. <tfoot>
  27. </tfoot>
  28. </table>
  29. </body>
  30. <script>
  31. $('tbody > tr > td').not(children('input')).click(function()
  32. { alert('Doesn't has an input child!');
  33. });
  34. </script>
  35. </html>