<html>
<body>
<ul id="myList" style="list-style-image:url('/i/pic/sqpurple.gif');">
<li>咖啡</li>
<li>茶</li>
<li>纯水</li>
<li>苏打水</li>
</ul>
<button type="button" onclick="myFunction()">返回列表项标记</button>
<script>
function myFunction() {
alert(document.getElementById("myList").style.listStyleImage);
}
</script>
</body>
</html>