Why does
ProduceCode:theMenuSection.innerHTML='<ul>'; alert(theMenuSection.innerHTML);
?Code:<ul> </ul>
This is very annoying since the list has a child list inside it and is constructed as the page is loading. Is there any way to prevent JavaScript from closing off the <ul> tag?
theMenuSection is a div tag (also tried span).




Reply With Quote