Hey all. I have a bit an issue. I have an ordered list with a series of pre-populated list items.
<ol>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
<li>Item 4</li>
</ol>
When I add another list item dynamically with jQuery, and slide the element down, it will display the item, but not the number. Resulting in something like this:
1. Item 1
2. Item 2
3. Item 3
4. Item 4
Item 5
The jQuery to do this is:
$("ol").append("<li>Item 5</li>");
var l = $("ol").children("li:last");
l.hide().slideDown(1000);
Any ideas?