引用文章自 http://james.blog.dhjh.tp.edu.tw/post/1/106

注意:在模版中如果要使用javascript,則必需在javascript的前後用{literal} 和{/literal}將javascript包住才可以執行喔 ^_^

例如:

{literal}

<script language=javascript>

xxxxxxxxxx-------xxxxxxxx(javascript 程式碼....)

</script>

{/literal}

 來源:http://james.blog.dhjh.tp.edu.tw/post/1/106

arrow
arrow
    全站熱搜

    jianmin2 發表在 痞客邦 留言(0) 人氣()