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
sfpsfp 

How to refresh salesforce1 vf page?

I have displayed Activity List in salesforce1 vf page. Click on one activity subject it will open to details page. 

 sforce.one.navigateToURL('/apex/DetailsMobile?tid='+tid);

 In Command Button Action  Rerender, outpupanel javascript function like this.

 function test(tid){ 
    sforce.one.navigateToURL('/apex/DetailsMobile?tid='+tid);
}

First time refreshing the page, again doing command button action that time not refreshing.

 Please help out this issue?

Thanks
AshwaniAshwani
Try with reload function:

function test(){
    window.reload();
}
SoleesSolees
Try this better inside the body of your VF:

<center>
            <apex:form >
                <apex:commandLink value="Actualizar Registros" onclick="location.reload();" html-data-role="button" html-data-mini="true" html-data-inline="true"/>
            </apex:form>
        </center>