Using javascript to interact with sagecell
I am wondering if there's sample code that allows javascript to interact with the sagecell where it can display an output from the sagecell after evaluation. I want javascript to be able to send code to the sagecell and ask the sagecell to evaluate the code. Then I want javascript to be able to alert the evaluated code.