$("#s4-searcharea") に .ms-sbrow クラスがない場合、数行のコードを実行しようとしています。助けてください!私は何を間違っていますか?
デモをいただければ幸いです。
========HTML========
<div class="s4-search s4-rp" id="s4-searcharea" style="display: block;">
<table width="100%" cellspacing="0" cellpadding="0" border="0" class="s4-wpTopTable">
<tr class="ms-sbrow">
<td class="ms-sbcell"><input type="text"></td>
</tr>
</table>
</div>
========jQuery========
$('#s4-searcharea').not(':has(".ms-sbrow")', function () {
$('#explore').addClass('minimal');
$('#header-home-icon').css('left','3px');
});