Skip to main content
added 11 characters in body
Source Link
Santanu Boral
  • 36.2k
  • 8
  • 45
  • 72

I think you need to refresh the page the to see the update.

From <apex:actionFunction> use oncomplete event to refresh the page as follows:

<apex:actionFunction 
name="updateDistance" 
action="{!updateRec}" 
oncomplete = "location"window.top.location.reload();"
rerender="mainMap" 
status="myStatus">

I think you need to refresh the page the to see the update.

From <apex:actionFunction> use oncomplete event to refresh the page as follows:

<apex:actionFunction 
name="updateDistance" 
action="{!updateRec}" 
oncomplete = "location.reload();"
rerender="mainMap" 
status="myStatus">

I think you need to refresh the page the to see the update.

From <apex:actionFunction> use oncomplete event to refresh the page as follows:

<apex:actionFunction 
name="updateDistance" 
action="{!updateRec}" 
oncomplete = "window.top.location.reload();"
rerender="mainMap" 
status="myStatus">
Source Link
Santanu Boral
  • 36.2k
  • 8
  • 45
  • 72

I think you need to refresh the page the to see the update.

From <apex:actionFunction> use oncomplete event to refresh the page as follows:

<apex:actionFunction 
name="updateDistance" 
action="{!updateRec}" 
oncomplete = "location.reload();"
rerender="mainMap" 
status="myStatus">