search for: moodom

Displaying 1 result from an estimated 1 matches for "moodom".

Did you mean: momodom
2006 Oct 04
0
onSuccess and onComplete Prototype callbacks
...f HTTP status code is 200 AND Ajax.Request was called with option ''evalScripts: true''. The code in question is attaching JS events to DOM nodes that were added by some server generated JS (the response of the Ajax.Request, hence evalScripts: true). I''m using the wonderful moodom JS library for this, cheers you guys!. For these purposes, it seems as if onSuccess is called too early. It looks like the DOM is not ready at that time, and onComplete is the real place to put the code (it works when I put it in onComplete, whereas it doesn''t in onSuccess). I really like...