Can anyone tell me how to reload or refresh a whole page after clicking a follow button on Visualforce Page? My VFP as follows;
<script>
funtion reload(){
window.location.reload( true );
}
</script>
<apex:repeat value="{!userList}" var="user">
<apex:outputText value="{!user.Name}" /><chatter:follow entityId="{!user.id}" onComplete="reload();"/>
</apex:repeat>
But the above code doesnt perform very well! So What Ive to modify in that page?
Thanks in advance Karthick