Hi!
As you probably know, DOMContentLoaded is not supported by MSIE. Try
calling document.triggerHandler('ready') after the AJAX is complete.
jQuery 'ready' event is a cross-browser one. See
http://docs.jquery.com/Events/ready
and http://docs.jquery.com/Events/triggerHandler for reference.
The other way is to set event listeners using jQuery 'live events' in
the first place. These listeners apply not only to currently existent
DOM elements, but also to all corresponding elements, created on fly.
See http://docs.jquery.com/Events/live.
On Feb 28, 7:46 pm, "[email protected]"
<[email protected]> wrote:
> The Problem apparently is, that some events dont get triggered.
> i fixed it for FF, Opera and Safari by calling the following
> javascript with jquery:
>
> $(document).ajaxComplete(function(request, settings){var
> evt=document.createEvent("HTMLEvents"); evt.initEvent
> ("DOMContentLoaded", false, false); document.dispatchEvent(evt)});
>
> IE still doesnt work though.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SWFObject" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/swfobject?hl=en
-~----------~----~----~----~------~----~------~--~---