Hello John,
thanks for the answer. The bind("unload") is working right now. One
further question: I would like finaly to log-off the user from the
AjaxChat, if he leaves the page. So I tried this:
$(window).bind("unload", function() {
$.load("logoff.html");
});
This does not work. This works:
$(window).bind("unload", function() {
var i = new Image(1,1);
i.src = "logoff.html";
});
So... is there any chance, to use an ajax-call in the unload-function? Or is
this simply not possible?
Greetings,
Hermann-Marcus
--
Hermann-Marcus Behrens
Mail: [EMAIL PROTECTED]
Telefon: 0421 - 16 80 800
Fax: 0421 - 16 80 80 80
citybeat.de
Zum Huchtinger Bahnhof 13
28259 Bremen
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/