<ul id="component-list" class="no-left-margin">
<li class="component-items hide">
<span>Login</span>
<a href="#">
<i class="icon-remove"></i>
</a>
</li>
<li class="component-items">
<span>Register</span>
<a href="#">
<i class="icon-remove"></i>
</a>
</li>
</ul>
表示されているアイテムのリストを取得しようとしています(hideクラスのないliタグ内のスパンタグ)
$('.component-items span').not('.hide');
上記のセレクターは私に空の配列を与えています。
<li>
Hideクラスなしでspanタグを取得するためのセレクターが必要です。