Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
<apex:page> <apex:form> <apex:commandButton value="Enviar" action="{!doSubmit}" oncomplete="abc();"/> </apex:form> <script> function abc() { window.location = 'https://www.google.com'; } </script> </apex:page>
Refer to this link
https://stackoverflow.com/questions/16562577/how-can-i-make-a-button-redirect-my-page-to-another-page
Thanks
Banwari
https://stackoverflow.com/questions/16562577/how-can-i-make-a-button-redirect-my-page-to-another-page
Hope it will be helpful.
Thanks
Rahul Kumar