为什么使用fisrtChild的结果和ChildNodes[0]的结果不一样(比如说我把PHP插在JavaScript前)
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>无标题文档</title>
</head>
<body>
<ul id="test"><li>JavaScript</li><li>HTML</li></ul>
<script type="text/javascript">
var otest = document.getElementById("test");
var _bab = otest.fisrtChild;
var _didi = document.createElement("li");
_didi.innerHTML = "php";
otest.insertBefore(_didi,_bab);
</script>
</body>
</html>