我正试图选择一个有背心的ul。 它有li子,在左侧有 anchor子。 当我空洞的时候,我想要把这ul子及其所有内容隐藏起来。
$( #switch-fighters-results-list ).mouseout(function(){
$(this).hide();
});
页: 1
<div style="display: block;" id="switch-fighters-results" class="ajax-search-results">
<ul id="switch-fighters-results-list" class="ajax-search-results-list clrFx">
<li onmouseout="removeCurrent(this);" onmouseover="addCurrent(this);" class="">
<a href="/fighter/scott/ferrozzo/56">Scott Ferrozzo</a>
</li>
<li onmouseout="removeCurrent(this);" onmouseover="addCurrent(this);" class="">
<a href="/fighter/scott/bessac/63">Scott Bessac</a>
</li>
<li onmouseout="removeCurrent(this);" onmouseover="addCurrent(this);" class="">
<a href="/fighter/scott/adams/191">Scott Adams</a>
</li>
<li onmouseout="removeCurrent(this);" onmouseover="addCurrent(this);" class="">
<a href="/fighter/scott/junk/362">Scott Junk</a>
</li>
<li onmouseout="removeCurrent(this);" onmouseover="addCurrent(this);" class="">
<a href="/fighter/scott/smith/376">Scott Smith</a>
</li>
<li onmouseout="removeCurrent(this);" onmouseover="addCurrent(this);" class="">
<a href="/fighter/scott/baker/555">Scott Baker</a>
</li>
</ul>
<div id="switch-fighter-more-results">
<a id="switch-fighter-more-results-link">13 more found for <span class="input-string"> scott </span> »</a>
</div>
</div>