I have array tags = ['str1', 'str2'];
And what i need is implement this tags to ul by this template -
<li><span>str1</span></li>
<li><span>str2</span></li>
At first i have only this tag:
<ul id="tags">
</ul>
How can i do it on jquery?
Edited : sry i'm modified question plz check now