Template:JS Fcn

From LongJump Support Wiki

Template for a Javascript Function.

Usage
{{subst:JS_Fcn}}

Notepad.png

Note: Sample comes first, so that syntax and parameters (both reference info) can be adjacent to each other.


lj_functionName

...

Sample Usage

...

How it Works
code(segment).doSomething(...
What it does
Syntax
lj_functionName('{option1}={value}&{option2}={value}&...');
lj_functionName(param, param, "string-param", ...);
Parameters

...

Parameter Description (default value in bold)
param descr