in reply to Re^4: perl dancer route template hashref pass complex json file to server issue (module)
in thread perl dancer route template hashref pass complex json file to server issue
alert('<%passtoserver%>');
So, try this:
alert('"\""')
What gets displayed? Same as with alert('"""').
If you are using a templating system to paste values into javascript, then use one that can actually do it correctly, including escaping things that need to be escaped.
- tye
|
---|
In Section
Seekers of Perl Wisdom