选中
$('#mybody1').on("click", "tr", function () {
$(this).parent().find("tr.focus").toggleClass("focus");
$(this).toggleClass("focus");
uid = $(this).attr("id");
});
选中
$('#mybody1').on("click", "tr", function () {
$(this).parent().find("tr.focus").toggleClass("focus");
$(this).toggleClass("focus");
uid = $(this).attr("id");
});