+ Start a Discussion

Redirection through ActionFunction not working in IE browser

function redirect(){

<apex:actionFunction name="actionFunction" action='{!ControllerRedirectMethod}'/>

<apex:commandButton onclick="redirect();" value="Next">

As shown in above code, When i trying to redirect user from one page to another using ActionFucntion, then its not working only in IE browser. In debugging found that, it actually not calling controller action mentioned in actionFunction. On the click, its redirecting user to same page and flushing the view state. All works well in chrome.

Anyone has idea, where its going wrong or its browser specific issue?
Gaurav KheterpalGaurav Kheterpal
Looks to be the same issue as described here (http://salesforce.stackexchange.com/questions/12407/actionfunction-working-in-chrome-but-not-in-ie-and-moz).

I would recommend adding this to see if it fixes the issue
If my answer helps resolve your query, please mark it as the 'Best Answer' & upvote it to benefit others and improve the overall quality of Discussion Forums.

Gaurav Kheterpal
Certified Force.com Developer| Salesforce Mobile Evangelist| Developer Forums Moderator| Dreamforce Speaker