|Did you know ...||Search Documentation:|
This library is a supplement to
a list of names represented as Prolog atoms. This can be done using the
call below, while without this library you would have to be careful to
properly escape special characters.
The accepted arguments are described with js_expression//1.
scriptelement with the given content.
+operator, which results in concatenation at the client side.
The parser produces a term
\List, which is suitable for
js_script//1 and html//1.
Embedded variables are mapped to
\js_expression(Var), while the remaining text is mapped to
['var ', Id, ' = new ', \js_call(Term)]