is there a way of retrieving list number from an ordered list?
Code:
<ol>
<li>text</li>
<li>more</li>
</ol>
<script>
document.getElementsByTagName("li")[0].onmouseover=alert(this.?????)
</script>