-
-
Save nancystodd/0e4ef8738c327824abb740265c37f918 to your computer and use it in GitHub Desktop.
Explore Global JavaScript Object in ServiceNow in a UI Page - Modified to show property values
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null"> | |
<script> | |
document.writeln("Prototype.Version: " + Prototype.Version + "<br />"); | |
document.writeln("Lets look at Global in ServiceNow: <br />"); | |
myGlobal = this; | |
for(myProp in myGlobal){ | |
document.writeln(myProp + ": "+ myGlobal[myProp]+"<br /><br />"); | |
} | |
</script> | |
</j:jelly> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment