Kirby 2 Docs
❌ Kirby 2 has reached its end of life. Migrate to a current version and
upgrade your v2 license now
.
escape::js($string)
Escape JavaScript data values
$string
(string)
return
(string)
↑
Toolkit API overview
←
escape::html
→
escape::noNeedToEscape
↓
Back to Toolkit API section
Top