Iframe location is zero

Sometimes I use:

window.frames[framename].location.href

      

.. only for lookup reports firebug window.frames[framename].location

is null, why should it be?

-3


a source to share


1 answer


Is the frame on a different domain? you may find yourself restricted because you cannot access content from another domain (e.g. XSS)



+1


a source







All Articles