[Phpmyadmin-devel] about window.frame_navigation

Marc Delisle marc at infomarc.info
Fri Jul 2 15:20:36 CEST 2010


Michal Čihař a écrit :
> Hi
> 
> 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.

Well he says that he's trying to change database from the left frame.

-- 
Marc Delisle
http://infomarc.info




More information about the Developers mailing list