I tried on IE6 and IE8. In booth the same problem.

Anyways, I solved the problem using the ape client to "MooTools.js"
rather than "JavaScript.js."
Now seams to work fine on firefox, chrome, safari, Opera, IE6 and E8.

I changed:
<script type="text/javaScript" src="ape-jsf/Clients/JavaScript.js"></
script>

with:
<script type="text/javaScript" src="ape-jsf/Clients/mootools-
core.js"></script>
<script type="text/javaScript" src="ape-jsf/Clients/MooTools.js"></
script>

But the problem persist with the "JavaScript.js" client.

Bye.

On Sep 22, 3:39 pm, Johnathan Leppert <[email protected]>
wrote:
> What version of IE are you using?
>
> On Wed, Sep 22, 2010 at 7:17 AM, Carles <[email protected]> wrote:
> > Hello !
>
> > I have and application with ape (TCPsocket) and jQuery, that works
> > well on: firefox, opera, chrome, safari.
>
> > But it don't work on IE (any version).
>
> > The problem is that the event 'load' is not "fired" in IE. I don't
> > know why.
>
> > I load the javascripts in the html page:
> > <script type="text/javaScript" src="ape/JavaScript.js"></script>
> > <script type="text/javaScript" src="ape/config.js"></script>
>
> > This is the javascript code of the application:
>
> > var socket;
> > var client;
> > var TCPSocket = null;
> > client = new APE.Client();
> > Log("Start ...<BR>");
>
> > client.load();
> > client.addEvent('load', function() {
> >  Log("Load ...<BR>");
> >  TCPSocket = this.core.TCPSocket;
> >  this.core.start();
> > });
>
> > client.addEvent('ready', function()
> > {
> >  Log("Ready ...<BR>");
> >  socket = new this.core.TCPSocket();
>
> >  socket.onopen = function()
> >  {
> >     Log("Connecting ...<BR>");
> >     //     ......
> >  }
> >  socket.onread = function(data)
> >  {
> >     ......
> >  }
> >  socket.onclose = function()
> >  {
> >    ......
> >  }
> >  socket.onerror = function()
> >  {
> >    ......
> >  }
> >  socket.open('mydomine.xxx', port);
> > });
>
> > Any tip/suggestion??
>
> > --
> > 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]<ape-project%[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/

-- 
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/

Reply via email to