LEADTOOLS JavaScript (Leadtools)

LoadJS Method

Show in webframe
Path to the JS file to load.
Function to call when the JS file has been loaded.
Helper method to dynamically load a JS file and add it to the script section of the current document.
Syntax
 function Leadtools.LTHelper.loadJS( 
   fileName ,
   callback 
)

Parameters

ParameterTypeDescription
fileNamestringPath to the JS file to load.
callbackActionFunction to call when the JS file has been loaded.
Remarks

This method works by enumerating the script tags in the current document for a matching fileName, if the item is not found then it is inserted in the document. If the item is found, then nothing is done.

See Also

Reference

LTHelper Object
LTHelper Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.