In the IPython Web notebook, I'm writing code that returns a JavaScript display object, that will display output in the cell output area.
What's the preferred idiom for the JavaScript code to reference "the current cell's output area", in a way that doesn't overlap things if there are multiple JavaScript output cells in the notebook?
(I realize that IPython JavaScript support is a work in progress).