var objPlayer = document.getElementById(‘wmplayer1’);
  var str = ‘<table border=1>’;
  for (var i in objPlayer)
  {
    str += ‘<tr><td>’ + i + ‘ </td><td> ‘ + objPlayer[i] + ‘</td></tr>’;
    i++;
  }
  str += ‘</table>’;

  document.getElementById(‘spanInfo’).innerHTML = str;

发表评论