search for: _detachevents

Displaying 2 results from an estimated 2 matches for "_detachevents".

2006 Mar 31
7
Reset events after ajax update
Avoiding real work I decided to try and clean up my html and remove my inline onclick handlers for Ajax.Updater calls. Here''s the inline method I''ve been using: http://hank.org/demos/ajax-inline.html Now, here''s using <script> sections to apply the behavior. http://hank.org/demos/ajax.html (firefox only) Since the links (tabs) are inside the
2006 Feb 01
2
IE memory fix leak.
By default the prototype.js gives us the function /* prevent memory leaks in IE */ Event.observe(window, ''unload'', Event.unloadCache, false); But there is no unload event in out application as the content of the div keeps changing using the Ajax.Updater function. To handle such a scenario, we''ve added the following lines of code to prototype.js /* prevent