<h2 class="cs-text">Word Set
<span id="words">
</span>
</h2>
in js code:
var spanWordSet = $("#words");
var li_element = "<span class='char" + word[0] + "'>" + word[0] + "</span>";
spanWordSet.appendTo(li_element);
But I'm not able to append any span tag to the span id=words. The idea is to append a bunch of letters as span tag to the span id="words" and then remove them as a whole after a while. Any help?
appendTowithappend