У меня есть список <a class="anchor"></a>
элементов.Почему я не могу заставить uniqueId()
работать с ними?Вот что у меня есть:
<a href="#" class="anchor">This</a>
<a href="#" class="anchor">This</a>
<a href="#" class="anchor">This</a>
<a href="#" class="anchor">This</a>
$(".anchor").each(function() {
$(this).uniqueId();
});
Я тоже пробовал:
this.uniqueId();
Заранее спасибо.