You need to sign in to do that
Don't have an account?
SFDC 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.