Difference between revisions of "Global JavaScript Variables"
From AgileApps Support Wiki
imported>Aeric m (Text replace - '[[Role Based Access' to '[[Data Access') |
imported>Aeric |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
No JavaScript variables are currently defined. | |||
<!-- | |||
The following [[JavaScript]] variables are ''global''. They are available in all JavaScript code running on the platform. | The following [[JavaScript]] variables are ''global''. They are available in all JavaScript code running on the platform. | ||
Line 6: | Line 8: | ||
====User Variables==== | ====User Variables==== | ||
: | :* '''LJUserName -''' Name of the (logged in) User | ||
: | :* '''LJPrimaryTeamName -''' Name of the user's [[Primary Team]] | ||
: | :* '''LJPrimaryTeamRoleName -''' Name of the user's [[Role]] | ||
====Page Variables==== | ====Page Variables==== | ||
Line 17: | Line 19: | ||
:::<syntaxhighlight lang="javascript" enclose="div"> | :::<syntaxhighlight lang="javascript" enclose="div"> | ||
encodeURIComponent(lj_window_src) | encodeURIComponent(lj_window_src) | ||
</syntaxhighlight> | </syntaxhighlight><noinclude> | ||
<noinclude> | |||
[[Category:JavaScript APIs]] | [[Category:JavaScript APIs]] | ||
</noinclude> | </noinclude> | ||
--> |
Latest revision as of 01:27, 14 October 2014
No JavaScript variables are currently defined.