x
 
<!DOCTYPE html>
<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>