You need to sign in to do that
Don't have an account?
tukmol
HTML inconsistency: showHeader=false/true
<apex:page showHeader="false" title="Test Page" id="thisPage"> <apex:outputPanel id="tabItem1"> <apex:form> <apex:pageBlock title="Test Page"> <apex:pageBlockSection columns="1"> <apex:inputText label="Input here:" style="width:500px;"/> </apex:pageBlockSection> </apex:pageBlock> </apex:form> </apex:outputPanel> <script> var tab1 = document.getElementById('{! $component.thisPage.tabItem1}'); alert(tab1.innerHTML); </script> </apex:page>
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.