+ Start a Discussion

HTML inconsistency: showHeader=false/true

<apex:page showHeader="false" title="Test Page" id="thisPage">
    <apex:outputPanel id="tabItem1">
            <apex:pageBlock title="Test Page">
                <apex:pageBlockSection columns="1">
                    <apex:inputText label="Input here:" style="width:500px;"/>
        var tab1 = document.getElementById('{! $component.thisPage.tabItem1}');

In this simple apex page, when showHeader="false", innerHTML returns without the <form> tag, while it returns complete when showHeader="true"? what gives?


This is in IE8, our company standard browser.


it behaves normal in Firefox, i.e. <form> tag is not omitted whatever the showHeader flag is.


NOTE: the page above is just a simple page, just to show the inconsistency.