Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
連続する行を非表示にする必要があるアプリを作成しています。現在私はこれを使用しています:
#mytable tr.collpaserow + tr, #mytable tr.collpaserow + tr + tr, #mytable tr.collpaserow + tr + tr + tr { display: none; }
これにより、最大3つの連続する行を非表示にできます。私が欲しいのは、Jqueryでどの深さに関係なく、すべての可能な連続行を非表示にすることです。
これを試すことができますか?
$(".collpaserow").nextAll().hide();
http://api.jquery.com/nextAll/