如何将变量从<script type =“ text / template”>分配给php标签

时间:2019-07-03 07:00:44

标签: javascript php jquery

我需要将此模板数据{{{data.comment}}}}像在php中一样爆炸

<script type="text/template" id="tmpl-um-activity-comment">

</span>

<span class="um-activity-comment-text">

  {{{data.comment}}} //---> i need this data to be explode like in php

</span>


</script>

0 个答案:

没有答案