var arrData = [{
"picture" : "2_2_content/css/myImg/picture11.png",
"ABC" : "abcd",
}];
<div style="height:100%;width:100%"></div>
如何取出這個ABC的值放到這個div裡?
<div id='myid' style="height:100%;width:100%"></div>
<script>
var arrData = [{
"picture" : "2_2_content/css/myImg/picture11.png",
"ABC" : "abcd",
}];
document.getElementById('myid').innerHTML=arrData[0].ABC;
</script>