why don't you just use http://mootools.net/forge/p/iframeformrequest
It's exactly designed for what you want.

On Thu, Jun 9, 2011 at 9:38 AM, Sanford Whiteman <
[email protected]> wrote:

> > my  version of Firefox (Iceweasel 3.5) don't load the iframe on page
> > load  so  when  i  click  the submit the first time nothing happens!
>
> That's the hash talking. Switch the src to 'about:blank'
>
> > Moreover if you have more iframe you need more global variables.
>
> Yeah... six of one, half-dozen, etc.
>
> You  can  have a single `ifrLoaded` hash with a property corresponding
> to  each  iframe's  id;  IMO, this still would be easier than managing
> each  individual  element.storage, IMO. Though if you worked the whole
> thing  into  a  class  like  IFrameWithOnLoad, whatever, you could get
> better encapsulation.
>
> -- S.
>
>
>

Reply via email to