I need to pass 300 or less strings from anchors of tags on page to jquery's:
var availableTags = [
"my tag",
"my tag1"
];
Taglist
Server gives me a taglist only of a certain format were the number of tags is 300 (or less). Every anchor is put in the div. That div has a static class "tagItem":
<div class="tagItem">
<a href="/search/my some first tag/" rel="nofollow" class="eTag eTagGr123">
my tag
</a>
</div>
<div class="tagItem">
<a href="/search/my some first tag/" rel="nofollow" class="eTag eTagGr435">
my tag1
</a>
</div>
What is need to be done is to take the anchor string (my some tag) and put it dynamically into the available tags.
Is it possible at all? And if so, how can it be properly done. Note: I can't make changes to the taglist output format due to the restrictions.