Is there a way to access document scripts via javascript?
I know that I can add and remove a document script via name, but is there a way to access the actual content of the document script?
I have a script which I use in an action to finalize a lot of the forms I create (clears form, adds javascript requirement, validates and sets certain parameters, etc.), and I'd like to add an action to the document based on whether or not a certain function exists in the document level scripts. If I can access the code, I can parse it out to find out if the desired function exists or not, but I don't see a way to do this.
Is this possible?
