更新时间:2023-11-03 16:41:40
$('tr' ,行)
在行的上下文中查找tr元素,这意味着它将在行中搜索 行行 $ c>作为上下文参数提供。
$('tr', row)
is looking for a tr element in the context of row, meaning it will search for a tr element inside the row
provided as context parameter.
根据 API ,这应该有用
$(row).addClass("label-warning");