LJ::ejs

LJ::ejs — Escapes a string value before it can be put in JavaScript.

Use

LJ::ejs(string);

Arguments

  • string. string to be escaped

Source:

cgi-bin/ljtextutil.pl

Returns:

string escaped.