Message from JavaScript discussions

May 2019

— Https://learn.jquery.com/performance/optimize-selectors/

— 

$("#users").delegate("tr.className", "click", function(){
alert("Click!");
}); can do the work too

— Assign a className to row that needs to be clicked

— The "delegate" method is deprecated

— Use .on() instead

— It only works for header row..not for other row

— Use a classname then

— Okk

— $(document).ready(function(){
console.log('kjnwkj');
$("#users tbody tr.row").click(function(){
alert("yes");
});
});

Message permanent page

— For the rows you want to be clicked

— Oops i don't use jquey now.😅

— It perfectly works