Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (5 sloc) 331 Bytes

This action executes Javascript directly. It can be used to interface with non-Zotonic Javascript libraries and functions.

Example:

{% button title="hello" action={script script="alert('hello world')"} %}

Clicking on the button will show a Javascript alert with the text hello world in it.

Something went wrong with that request. Please try again.