Can you please help me in debugging a javacsript extension with a scope to a BlueKai tag where I'm adding an event listener to a button and I'm populating some variables in it.
The goal is to send a call to BlueKai having the variables I've populated in the server call.
Unfortunately the code I've added to the listener runs after the call happens to BlueKai.
Can you please let me know how can I add my code before the call happens?
If you need other information please let me know.
Thanks for all your answers however we've managed to sort the issue by using another approach so basically we've removed the event listener and as there was already a listener on the object in scope we've used that to inject the required code.
@csaba_ozsvath Great job figuring this out on your own. And MUCH APPRECIATED letting us know how you solved it!