+ Start a Discussion
David Holland 6David Holland 6 

Javascript Rerender not working

We have a custom written chat console in Salesforce on a visualforce page.

Sometimes, when rerendering the page and calling controller actions through Javascript, the page refreshes completely and just displays the actual Javascript methods:

User-added image

Any help would be greatly appreciated!

<apex:actionFunction name="refreshData" action="{!refreshData}" oncomplete="refreshDataFinished(); reRenderQueue();" reRender="sideMenu, reRenderQueue, alertSection, autoResponseCounterBadge"/>

Let me know if you need anything extra!