OpenCms JSP standard taglib
Function escapeJavaScript
java.lang.String escapeJavaScript(java.lang.String)
Escapes a String so it may be used in JavaScript String definitions.
This method escapes line breaks (\r\n,\n
) quotation marks (".'
) and slash as well as backspace characters (\,/
).
Function Information |
Function Class | org.opencms.util.CmsStringUtil |
Function Signature | java.lang.String escapeJavaScript(java.lang.String) |
Display Name | None |
Output Generated by
Tag Library Documentation Generator.
Java, JSP, and JavaServer Pages are trademarks or
registered trademarks of Sun Microsystems, Inc. in the US and other
countries. Copyright 2002-4 Sun Microsystems, Inc.
4150 Network Circle
Santa Clara, CA 95054, U.S.A.
All Rights Reserved.