Thanks Lance,

I'll check whether it works or not.

-----Original Message-----
From: Lance Java [mailto:lance.j...@googlemail.com] 
Sent: Tuesday, September 04, 2012 1:23 PM
To: users@tapestry.apache.org
Subject: Re: onUnload method from AfterRender

Don't use window.unload directly as prototype/jquery do special things with
this function. Use prototype's Event.observe instead (or jQuery bind if
using tapestry-jquery).

eg:
Event.observe(window, 'unload', function() { 
  // your unload actions 
}); 



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/onUnload-method-from-AfterRender-tp5716029p5716033.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to