Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This function appends a <script> tag reference to the bottom of the head. If the exact reference exists, the function will not add a new reference.
The script reference is in the following form.
<script type="text/type" src="filename.js">
Syntax
function xweb.document.appendScriptReference(
reference : String,
scriptType : String
) : boolean
Parameters
reference A string that contains the path and file name of the script file.
scriptType A string that specifies the script language, such as "javascript".
Returns
true The script reference was successfully added.
false The script reference was not added.
See Also
Concepts
document
document Members
xweb
Copyright © 2011 by Microsoft Corporation. All rights reserved.