[Phpmyadmin-devel] about window.frame_navigation

Marc Delisle marc at infomarc.info
Fri Jul 2 15:12:30 CEST 2010

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?

Marc Delisle

More information about the Developers mailing list