Hi ximo,

You want to call a function in the parent window? Are the main window
and the iframe loaded from the same domain? If so, did you try calling
window.parent.yourFunc(); from within your iframe?

If the main window is not on the same domain as the iframe - try using
the pmrpc library (http://code.google.com/p/pmrpc/). "Pmrpc is a HTML5
inter-window cross-domain JSON-RPC based remote procedure call
JavaScript library. The library provides a simple API for exposing and
calling procedures from windows or iFrames on different domains,
without being subject to the same-origin policy." You can use pmrpc
even if the iframe and main window are on the same domain.

Cheers,
Ivan

On Sep 14, 9:15 pm, ximo wallas <igguan...@yahoo.com> wrote:
> Is this possible? Been trying but doesn't seem to work...

Reply via email to