asp.net - jQuery Filtering Gridview Columns -


I'm looking at one click event for all the columns, but the last column of a gridview and then a different click event is Gridview I have the following for the last column (a dropdown list), but it can not be found to exclude the last column:

  var _activeRow; $ ('Gridview-jquerify tr'). Filters (work () (return $ ('TD', this). Length and amp;! $ ('Table', this). Length}) .bind ('click', function (e) {if (_activerow) _activerow .removeClass ('gridviewrow - Highlight'); _activeRow = $ (this) .addClass ('gridviewrow - Highlight'); $ (this) .each (function () {var MyID = $ (this) .find ('.gridview -cell-hide '). Html (); __do postback (' MyUpdatePanel ', myID);});});  

Then I can not seem to work using the filter for the previous columns to get a difference in the above: Previous selector like:

  $ ('.gridview-jquerify tr & gt; td: last'). Filter (function () {return $ ('TD)', this). Length & amp; ! $ ('Table', this). Length}}  

  / last column $ (".gridview-jqueryify Tr td: last-child ") / Last column $ (" .gridview-jqueryify tr td: not (: last-child) ") / / Select the last column  / pre> 

Comments