Even though your script should run synchronous, it might not. The callback might have actually fired before your script got a chance to intercept it. I remember IE could prematurely fire the onload event for an image in primed cache if you set the .src before setting the .onload. Maybe the same is the case here. Especially since you're adding it to the dom like that, behavior might not be what you expect.
Does the "onload" (/whatever) even fire for inline scripts? Try a different approach? - peter -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/jsmentors@jsmentors.com/ To search via a non-Google archive, visit here: http://www.mail-archive.com/jsmentors@googlegroups.com/ To unsubscribe from this group, send email to jsmentors+unsubscr...@googlegroups.com