Functiondojo._getText

<script src="../../js/dojo.js"></script>
defined in dojo/_base/_loader/hostenv_browser.js

Read the contents of the specified uri and return those contents.

Usage

function (uri, /*Boolean*/ fail_ok) (view source)
parametertypedescription
uri A relative or absolute uri. If absolute, it still must be in the same "domain" as we are.
fail_okBooleanDefault false. If fail_ok and loading fails, return null instead of throwing.