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 reply to Re^5: perl dancer route template hashref pass complex json file to server issue (quotes)
by tye
in thread perl dancer route template hashref pass complex json file to server issue
by RamiD
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |