After debug, I found Client/JavaScript.js has some problem:
IE don't excute the iframe.onload() function when config.transport == 2;
After changed iframe.load() function like this, it works fine:
onIframeLoad = function() {
if (!iframe.contentWindow.APE) {
setTimeout(onIframeLoad, 100);//Sometimes IE fire the onload
event, but the iframe is not loaded -_-
} else {
iframe.contentWindow.APE.init(config);
}
};
setTimeout(onIframeLoad, 100);
2010/3/31 ma liang <[email protected]>
> To avoid JSF set document.domain value, I changed transport method to
> JSONP,
> through add tranport: 2 in client.load();
>
> client.load({
> 'domain':APE.Config.domain,
> 'server':APE.Config.server,
> identifier:'pusher',
> transport: 2,
>
>
> Firefox, and chorm works fine, except IE(I'm use ie7.0).
>
> I added alert(resp) in APE.Transport.read() function. other browser alert
> raw ok, IE don't.
>
> There is no js error, I can't catch request and monitor dynamic DOM under
> IE, somebody can help me pls?
>
--
You received this message because you are subscribed to the Google
Groups "APE Project" 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/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/
To unsubscribe, reply using "remove me" as the subject.