Define a callback function in the origonal page (yourFunction), then in the
page returned by the ajax call put script that uses that function (
parent.yourFunction() ).

Blair

On 1/4/07, Ámon Tamás <[EMAIL PROTECTED]> wrote:

Ámon Tamás wrote:
> Hello,
>
> I like to upload an image from a form with ajax, but I don't know how it
> is working. I know, I must to make an iframe, and I must to send the
> file to this iframe and getting back the results, but I don't know how
> it is working. I try to examine Drupal upload solution but it is to
> difficult for me now. I only like a _very_ _litle_ example or tutorial
> how it is working.

Hmmm it is a very-very easy thing, I must to change the form target to
the iframe.

And other question. Are these an easy way to sending-responding from an
eframe (like $.post())?

--
Ámon Tamás
http://linkfelho.amon.hu


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to