I’m working on a notebook that includes buttons that call functions to render the content of other cells. The function also includes text referenced from another cell. Here’s an example.
The problem is that every time I edit and update the “prefix” cell it fires the function. The same when I load/reload the page. I only want the function to be fired when the button is clicked. Is there a way to do this.
I need this behaviour so that the notebook doesn’t invoke an HTTP POST until I’m ready.