Movable Type Documentation > Appendices > Appendix: Template Tag Modifiers

encode_js

Type: modifier

With a value of "1" encodes the tag value into a format suitable for usage in a Javascript string value.

Example

<mt:tagname encode_js="1" />
This page was last updated on 2007-08-10, 16:32.  

Submit a User Contributed Note

User contributed notes are a great way to share the knowledge you have gained in using Movable Type.

If you have a technical question or problem, please visit Movable Type Support.

(If you haven't left a note here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)