L
Logos
I have a bit of an issue that seems like it should be simple, but I'm
missing some crucial understanding of some sort.
I have a login page I am loading into an iframe from a button click on
the page. The iframe page submits to itself, and reloads with the
results of the login. One of the things the reloaded page should do
after it loads is call "top.registerProfile(profile)". This generates
an error - top is now returning as an HTML node "[object Window]"
instead of a javascript object as it was before the page was submitted
to itself.
Can anyone tell me why this is? I am thinking it is because the page
was reloaded from an internal link, breaking the 'connection' to the
surrounding page.
More importantly, is there some way to get around it and access top
again from my function?
Thanks!
Tyler
missing some crucial understanding of some sort.
I have a login page I am loading into an iframe from a button click on
the page. The iframe page submits to itself, and reloads with the
results of the login. One of the things the reloaded page should do
after it loads is call "top.registerProfile(profile)". This generates
an error - top is now returning as an HTML node "[object Window]"
instead of a javascript object as it was before the page was submitted
to itself.
Can anyone tell me why this is? I am thinking it is because the page
was reloaded from an internal link, breaking the 'connection' to the
surrounding page.
More importantly, is there some way to get around it and access top
again from my function?
Thanks!
Tyler