Im adding a certain panel to each page of my website using <!--#include virtual="menu.htm" -->, and it works perfectly fine if im putting this into the source htm file.
My problem is that im trying to dynamically create tabs with this panel on each one, and thus doing so im programatically creating div elements with this comment and appending to the body.
When i do this and inspect the live page source, the include comment is there and it hasnt been replaced by the actual panel. What do i need to do to get this replacement to happen?