jQuery: The Write Less, Do More JavaScript Library

Re: Problem accessing external iframe form values

by skywalk3r :: Rate this Message:

Reply to Author | View in Thread


Ok, I supposed it!

Thanks anyway guys!

On Jul 1, 8:28 pm, Michael Lawson <mjlaw...@...> wrote:

> It isn't possible.  iframes abide  by the same origin policy just as ajax
> requests do.
>
> cheers
>
> Michael Lawson
> Development Lead, Global Solutions, ibm.com
> Phone:  1-276-206-8393
> E-mail:  mjlaw...@...
>
> 'Examine my teachings critically, as a gold assayer would test gold. If you
> find they make sense, conform to your experience, and don't harm yourself
> or others, only then should you accept them.'
>
>   From:       James <james.gp....@...>                                                                                    
>
>   To:         "jQuery (English)" <jquery-en@...>                                                                    
>
>   Date:       07/01/2009 02:18 PM                                                                                                
>
>   Subject:    [jQuery] Re: Problem accessing external iframe form values                                                        
>
> I believe that it's not possible, in general, as you said due to
> security reasons.
>
> On Jul 1, 12:17 am, skywalk3r <luca.martinc...@...> wrote:
>
> > Hi, I'm getting sick trying to solve this problem:
>
> > I have a web page A that loads another page B using an iframe (or an
> > object tag), the B page is an external page (it's not on my server)
> > and contains a form.
>
> > I want to be able to auto fill the form with pre-defined values. In
> > jquery i think it's impossible due to security reasons, somebody can
> > help me?!?!
>
> > I hope I explained the problem correctly, if you need more info just
> > tell me.
> > Thanks,
>
>
>
>  graycol.gif
> < 1KViewDownload
>
>  ecblank.gif
> < 1KViewDownload

 « Return to Thread: Problem accessing external iframe form values