In the EXTJS, how to escape special character ?
for example, compiler is complaining showDetail(‘{1}’) , how to escape the ” ?
Thanks
return Ext.String.format(
'{0} <a href="#" onclick="showDetail('{1}');">detail</a>',
value,
record.getReportId()
);
You should be able to use the standard
\. Place it before'like so\'.