Unfortunately there is a longstanding Gecko bug which affects dynamic JS-generated content rendered into IFRAMEs. Basically, they don't work, even though I think (I'm clearly no web standards expert) the DOM 1 spec says they should. I would love to be proven wrong, if anyone else knows otherwise.
It’s amazing how many people you could be friends with if only they’d
make the first approach.