if you know the ids of the elements you want to auto-fill you can try this
$("iframe").contents().find("#element_id").val("hello");
Slts.
----- Original Message -----
From: "James" <
james.gp.lee@...>
To: "jQuery (English)" <
jquery-en@...>
Sent: Wednesday, July 01, 2009 12:17 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,