js的function()與Function()

js的function()與Function() 首先出現問題地方web var pAry = document.getElementsByTagName("p"); for( var i=0; i<pAry.length; i++ ) { pAry[i].onclick = Function('alert('+i+')') } 不難看
相關文章
相關標籤/搜索