dojo._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)
parameter | type | description |
---|---|---|
uri | A relative or absolute uri. If absolute, it still must be in the same "domain" as we are. | |
fail_ok | Boolean | Default false. If fail_ok and loading fails, return null instead of throwing. |