cyinclude
Include a pure javascript file. The file is parsed to make any objects, functions and variables accessible to the current page.
Argument
Type
Description
filename
String
The javascript filename
Return Value
Type
Description
status
Boolean
true on success, false otherwise
SAMPLE CODE: ============ cyinclude ('test.js'); var $sum = jsadd (5, 3); SAMPLE JS FILE: =============== function jsadd (num1, num2) { return (num1 + num2); }