2010/7/2 Marc Delisle marc@infomarc.info:
Michal Čihař a écrit :
Hi
Dne Fri, 02 Jul 2010 09:12:30 -0400 Marc Delisle marc@infomarc.info napsal(a):
someone is reporting that on his Windows 7 x64 system with Chrome 5.x, this line if (window.frame_navigation.document.getElementById(db) == null)
gives an error Uncaught TypeError: Cannot call method 'getElementById' of undefined
but this works: if (window.frames[0].document.getElementById(db) == null)
Does someone have an idea why making a reference to the frame name would not work? Broken browser?
Not having that frame? Eg. opening right frame in new tab.
Well he says that he's trying to change database from the left frame.
Works for me, no error (Chrome 5.0.375.99, Windows 7 x64 Pro).
Maybe some extension is breaking something? Or it is an old version?