click event on table row, except td with class="someClass"

Posted by loviji on Stack Overflow See other posts from Stack Overflow or by loviji
Published on 2010-05-23T22:21:27Z Indexed on 2010/05/23 22:31 UTC
Read the original article Hit count: 172

Filed under:
|

Hello, I want to do someoperations after click on row, except td with class='someClass'

  $('#mainTable tr td:not([class=someClass])').unbind().live('click',function () 
  {
  //some operation
  });

what is wrong?

note: this td is not last td in table.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about table