[jQuery] Re: How to catch function call

2008-07-08 Thread Luiz Abrahao
Hi Michael, I tried, but I've got no response. I double checked the spelling (the iframe's id and the javascript function's name), and the function is global. What I did: - I'm using jquery-1.2.6.min.js - inside my head tag I have: ;(function( $ ) { $.fn.frameHook = function( name, hook )

[jQuery] Re: How to catch function call

2008-07-04 Thread Michael Geary
That's good - if it were a different domain we'd be in trouble! I forgot to ask, but the JavaScript function you want to intercept is a global function in the iframe, correct? Then you could use something like this plugin (untested): ;(function( $ ) { $.fn.frameHook = function( name,

[jQuery] Re: How to catch function call

2008-07-04 Thread Luiz Abrahao
Michael, thanks for your time, It's loaded form the same domain. On Jul 3, 3:41 pm, "Michael Geary" <[EMAIL PROTECTED]> wrote: > Is the iframe loaded from the same domain as the containing page, or a > different domain? > > > From: Luiz Abrahao > > > I have one page with one iframe, and there a

[jQuery] Re: How to catch function call

2008-07-04 Thread Luiz Abrahao
Hi Micheael, Thanks for your time. Yes, it is. The pages that are loaded into the iframe are form the same domain. Thanks On Jul 3, 3:41 pm, "Michael Geary" <[EMAIL PROTECTED]> wrote: > Is the iframe loaded from the same domain as the containing page, or a > different domain? > > > From: Luiz

[jQuery] Re: How to catch function call

2008-07-03 Thread Michael Geary
Is the iframe loaded from the same domain as the containing page, or a different domain? > From: Luiz Abrahao > > I have one page with one iframe, and there are few javascript > function on the page inside the iframe. These functions are > triggered by some flash presentations. > > Basically