> To further elucidate why this is happening, when you're browser's parser
> sees the script tag, it executes everything in the script tag before moving
> on to parse the rest of your HTML content.

Not  so.  In Request.HTML, scripts are evaluated last. Intelligent DOM
injection,  not  like  what  the browser does on its own. It's easy to
demo this by moving the script around in my first jsFiddle.

Anyway,  @David,  I  don't  know what you're doing to present backward
results in FF 4 and FF 3.6. This Fiddle, lifted from your sample code,
works identically in FF 3.6, 4, and 5:

http://jsfiddle.net/4T2wA/24/

P.S.  I  don't  know what humanity did to deserve FF 4. I can't use it
anymore except for barebones testing: it sucks too much. I've moved on
to  the 5 beta and we are sliding in a warning advising people on 4 to
either move back or forward.

-- S.

Reply via email to