/ Published in: JavaScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
...... addRowProp: function() { $('tbody tr',g.bDiv).each ( function () { $(this).click( function (e) { var obj = (e.target || e.srcElement); if (obj.href || obj.type) return true; //disable this line below //$(this).toggleClass('trSelected'); } ; ......