2番目の<tr>
をどのようにjQueryを使用してテーブルにターゲティングしますか? .closest
またはnth-child
を使用しますか?jQuery - テーブルの2番目の行を選択しますか?
// something like this..
var MyLocation = $('.myclass').closest('tr').after('tr'); // fixed
<table class ='myclass'>
<tr>
<td></td>
</tr>
<!-- put some thing here -->
<tr>
</tr>
を期間とクラス名の前の代わりに、$( '私のクラス')。期間がなければ、あなたは –
Zak