Skip to main content The Trailblazer Community will be unavailable from 2/1/2025 to 2/2/2025. Please plan your activities accordingly.
The page 'cancel' button has an onclick redirectpage.

Now, when I click the cancel button nothing happens.

<apex:commandbutton id="cmdCancel" value="{!$Label.Button_Cancel}" onclick="javascript: RedirectPage();"/>  

From Chrome: Uncaught TypeError: Cannot read property 'focus' of undefined  

From Mozilla Firefox: Instance 'backToSuggestionsLnk_500e0000006P9rj-18ed8e4b6c5de6fb024519190e0bef26150816a7a90zf04126a57303ae4d' is uninitialized and type was undefined"
1 answer
0/9000