[SalesForce] Visualforce Page redirect not working from apex actionfunction

I have used actionfunction to redirect visualforce page to another page but the page is not redirecting into another.

VF Page:

<apex:commandButton value="Create" onclick="createfunction()" />
<script>
   function createfunction(){
        <!-- some operations -->
        create(param1,param2); 
   }
</script>
<apex:actionFunction name="create" action="{!create}" reRender="">
     <apex:param name="one" value="" assignTo="{!value1}" />
     <apex:param name="two" value="" assignTo="{!value2}" />
</apex:actionFunction>

Apex Controller:

Public PageReference create(){
     PageReference oppPage = new PageReference('/'+oppId);
     oppPage.setRedirect(true);
     return oppPage;   
}

Can any one help me how can i resolve this issue.

Best Answer

try

<apex:commandButton value="Create" onclick="createfunction(); return false;" />