[IPython-dev] Javascript callbacks

thwiouz maidos93 at laposte.net
Mon Oct 14 09:05:23 EDT 2013


Hello everybody,

I am trying to add a callback when executing of a function into javascript.
The code is executed but not the callback (defined in my js file).  I read
here 
http://stackoverflow.com/questions/11668704/minimalistic-example-of-ipython-kernel-javascript-bi-directional-communication
<http://stackoverflow.com/questions/11668704/minimalistic-example-of-ipython-kernel-javascript-bi-directional-communication>  
that the callback might be given with its context but I couldn't fix it.
Could someone tell me where I have to put my "handle_output" function to be
executed?
By the way, can I have access to the results of the code "inside" the result
of the /IPython.notebook.kernel.execute function/ or it's only achievable in
the "handle_output" function?

Thanks a lot,




--
View this message in context: http://python.6.x6.nabble.com/Javascript-callbacks-tp5035680.html
Sent from the IPython - Development mailing list archive at Nabble.com.



More information about the IPython-dev mailing list