document.location.href doesn't work

admin

Administrator
Staff member
Hello everybody,

in my javascript I am trying to find out location of one of the iframe on my page.

var currentURL = document.iframe["iFrame"].location.href.ToString();

but this doesn't work.

Can anyone help me?

Thank you,

MIke
 
Back
Top