How to create a new <li> with a checkbox or <a> in it?
<p>I'm creating a web site, and I have an input board where the user types a message, then it appears in an <code>ul</code> list. When I write something in the input board and publish the text, the text appears in the <code>ul</code> list, but if I want to delete the post, I would need an anchor or a checkbox, but how do I do that? </p>

<p><code>$('&lt;li&gt;').addClass("valgt").text(post).prependTo('.Melding')</code>; &lt;--- Here I would like to add an anchor or a checkbox, but I can't figure it out. </p>