actually , the written javascript directly checks the url of browser nd if
it finds a dff , it fires a location.replace command .
Plz suggest how can i stop this default behaviour.

On Fri, Jan 2, 2009 at 6:51 AM, Ricardo Tomasi <ricardob...@gmail.com>wrote:

>
> If the iframe has access to the parent frame it's on the same domain,
> then you have access to it right? I think there's nothing you can do
> to stop that.
>
> On Jan 1, 8:24 am, AbhishEk <mithuabh...@gmail.com> wrote:
> > Hi,
> > I have a WebPage on which i have an iframe inside which i open child
> pages .
> > In one of the child pages following script is written
> >
> > script type="text/javascript">
> >     if (self != top) {
> >     if (window.location.href.replace)
> >         top.location.replace(self.location.href);
> >         else
> >             top.location.href=self.document.href;
> >             }
> >  </script>
> >
> > Which replaces my original url to its url and my page is gone ..
> > is there any way using jquery that i can stop this page from bursting my
> > iframe.
> >
> > Plz Help.
> >
> > Thanks in advance
> > ~abhi
>

Reply via email to