I have several content panes in my web page. You can select certain parameters from a given content pane, and then some calculations are performed based on the parameters you entered, and the results are written into the content pane. I then want to be able to refresh the entire content pane so the user can enter a new set of parameters. To do this, I add a "refresh" button, which goes to this function:

function ResetContent(){
For some reason this puts the content of all of the content panes in the entire html document into this "DijitID1" content pane, rather than refreshing the content pane to the content that it originally contained. I noticed I am getting a console error of: Error parsing in _ContentSetter. Does anyone know what I might be doing wrong? Thank you!