I would like to know how to create a list from a block of text. Let me explain ..
Here is my html:
<div class="asd">
well
worth
it
</div>
And it should be automatically converted to a list as follows:
<div class="asd">
<ul>
<li>well</li>
<li>worth</li>
<li>it</li>
</ul>
</div>
I hope you understand: -D I have already tried this with various methods, but am not familiar with jQuery element elements yet.
Martti Lane
source
share