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.

I register the click event on the image to open the lightwindow box

Event.observe('idHelpDeskRequestIMG','click', showHelpDeskCreatForm,

The function fires and runs the lightwindow script, works fine

function showHelpDeskCreatForm(){
                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

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,

You received this message because you are subscribed to the Google Groups 
"Prototype &" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to