function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
chris_centrachris_centra 

Visualforce - rerender causing some html to disappear

Hello.  I have a VF page which includes the following structure:
<apex:outputPanel id="resultBlock">
                 <div class='hero-previews' data-tab='t-recent'>
                    <section id='t-recent-div' data-tab='t-recent' > 
                      <ul>
                        <apex:repeat value="{!ContentList}" var="res">
                            <li>

There is an action which causes my outputPanel to rerender - because some of the contents change.  And that works fine, but what's odd is that the "section" tag also disappears.  When the page is first rendered, the section tag is present as expected, but on every re-render, it's gone.  Any idea what's happening there, or how to prevent it?

thanks
chris
 
ShashankShashank (Salesforce Developers) 
Hi Chris,

Could you please let me know if you are still facing the issue so that I can have a look?

Thanks,
Shashank Srivatsavaya
Salesforce.com