[Phpmyadmin-devel] about window.frame_navigation

Michal Čihař michal at cihar.com
Fri Jul 2 15:14:19 CEST 2010


Dne Fri, 02 Jul 2010 09:12:30 -0400
Marc Delisle <marc at 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.

	Michal Čihař | http://cihar.com | http://blog.cihar.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20100702/02e23b07/attachment.sig>

More information about the Developers mailing list