i have a frameset that contains two frames.
1)content frame: i have access to this page
2)main frame : i don't have access to this page
when i use
if(window.frames['map'].document.readyState == 'complete')
I am getting not an object error.
I am also looking for script to be compatible across the browser