Created
October 12, 2014 22:11
-
-
Save cmcdevitt/8fec4a0d0a8eec58ee8d to your computer and use it in GitHub Desktop.
Explore Global JavaScript Object in ServiceNow in a UI Page
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 + "<br />"); | |
} | |
</script> | |
</j:jelly> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment