$('input[name="iplus"]').click(function() {
$("#billsumary").append("<li>Test</li>");
});
Hi,
i append a li-elemnt on every click. Now I like to wrap all those created li-elements into an ol-element but not each created one but all of them together.
sample html output:
<div id='billsumary'>
<ol>
<li>Test</li>
<li>Test</li>
<li>Test</li>
...
<li>Test</li>
</ol>
</div>