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
SFDC 1904SFDC 1904 

How to check for current context view name in salesforce?

I want my javascript code to check the current context of view on click of button and want my code to perform different validations for different views.