试一下:
<script type="text/javascript">alert(document.getElementsByTagName("li")[0].innerHTML);</script>