Thursday, 17 April 2014

nodeList bug???


hi. i'm new here. joined report error in safari 5.1.1 (7534.51.22). don't know report this. here goes:

when use document.getelementsbytagname returns [object nodelist]. when 'typeof' of returned nodelist returns 'function' ???? that's not right. nodelist html collection.

example:

var o = document.getelementsbytagname('div');
alert(typeof o); // returns 'function' ?!?!?!?
 



Forums Macs Mac Basics and Help


  • iPhone
  • Mac OS & System Software
  • iPad
  • Apple Watch
  • Notebooks
  • iTunes
  • Apple ID
  • iCloud
  • Desktop Computers
  • Apple Music
  • Professional Applications
  • iPod
  • iWork
  • Apple TV
  • iLife
  • Wireless

No comments:

Post a Comment