This has to have been solved before or I'm just not thinking about this right.
To start, I'm using version 1.6.1. In short I'm looking to fire off a function after another has completed. (onComplete equvilent) I'll show what I've got so far to better illustraight what I'm trying to do. 1) I register the click event on the image to open the lightwindow box by: Event.observe('idHelpDeskRequestIMG','click', showHelpDeskCreatForm, false); 2) The function fires and runs the lightwindow script, works fine function showHelpDeskCreatForm(){ myLightWindow.activateWindow({ href: 'home/dsp_AddHelpDeskInstance.cfm? + cfSession', title: 'Create a Help Desk Ticket', author: 'IT', caption: 'The quickest way to create a Help Desk Ticket' }); // this run before the above script is done, to be expected. attachHelpDeskListeners(); } What I don't know how to do is only fire "attachHelpDeskListeners();" AFTER the "myLightWindow.activateWindow" is done loading/running. I looked at Ajax.Response, but I'm not sure if it's the right tool or how to use it. Thoughts? Best practices? Thanks for your time, Brent -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptacul...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.