views:

286

answers:

1

Sometimes I use:

window.frames[framename].location.href

..only to find firebug reporting window.frames[framename].location is null, why would this be?

+1  A: 

Is the frame in another domain? you might find yourself being restricted because you can't access content from another domain (e.g. XSS)

scunliffe