Sometimes I use:
window.frames[framename].location.href
..only to find firebug reporting window.frames[framename].location
is null, why would this be?
Sometimes I use:
window.frames[framename].location.href
..only to find firebug reporting window.frames[framename].location
is null, why would this be?
Is the frame in another domain? you might find yourself being restricted because you can't access content from another domain (e.g. XSS)