How to display more than 1 diagram?

I have separate pages with the same DIV element “myDiagramDiv” and only one diagram is displayed instead of more different diagrams.