Find your content:

Search form

You are here

reRender outputPanel from javascript function in visualforce


I want to reRender "TopPanel" from javascript, is there any way to do this in visualforce ?

<apex:outputPanel id="TopPanel">

<script type="text/javascript">
function CreateTabs()
    //rerenderCode for TopPanel

Attribution to: Prafulla Patil

Possible Suggestion/Solution #1

This is what an actionFunction is for

<apex:actionFunction name="rerenderTopPanel" rerender="TopPanel" />
<apex:outputPanel id="TopPanel">

<script type="text/javascript">
    function createTabs() {

Attribution to: Phil Rymek
This content is remixed from stackoverflow or stackexchange. Please visit

My Block Status

My Block Content