JQ的过滤隐藏

 jq 的过滤显示隐藏

  $("#overflow2 table tr").find("td:eq(1) em").filter(":contains('" + arry_cid + "')").closest("tr").next().hide();

 

jq 循环

$("#tb2 tr").each(function (i, t) {
console.log(its, i, t);
if (its < 3) {
$(t).find(".nums").val(1); $(t).find(".print_once").click(); console.log(i); return;
}
});

 

data-p_id

$().data("p_id") 

posted @ 2020-09-07 09:01  wonderfulviews  阅读(173)  评论(0编辑  收藏  举报