<we:js>
Since version: - | Requires endtag: no
Description
The <we:js> tag creates an HTML tag that references an internal webEdition JavaScript document that has the ID listed below. You can define JavaScripts in a separate file.
Attributes
id
Default value: - | since version: - | required: yes
Set this attribute to the webEdition ID of the JavaScript document to be used.
cachelifetime
Default value: 0 | since version: 4.2.0.0 | required: no
With this attribute you define the validity of the Cache in seconds for this we:Tag. This attribute is used only if cache type defined in the template is we:Tag Cache or Cache is disabled.
Syntax
<we:js id="attribute" [cachelifetime="attribute"] />
Examples
Example #1
<we:js id="34"/>