高级标题,简单问题:
如何在jQuery中执行以下操作(隐藏除$(this)
之外的所有内容)?
$("table tr").click(function() {
$("table tr:not(" + $(this) + ")").hide();
// $(this) is only to illustrate my problem
$("table tr").show();
});
https://stackoverflow.com/questions/1328314
复制相似问题