jQuery: The Write Less, Do More JavaScript Library

Re: Problem accessing external iframe form values

by Michael Lawson :: Rate this Message:

Reply to Author | View in Thread

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: mjlawson@...

'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.'

Inactive hide details for James ---07/01/2009 02:18:16 PM---I believe that it's not possible, in general, as you said due toJames ---07/01/2009 02:18:16 PM---I believe that it's not possible, in general, as you said due to


From:

James <james.gp.lee@...>

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,




 « Return to Thread: Problem accessing external iframe form values