0
var x = document.getElementById('comments');
x.innerHTML=  '[% PROCESS bug/comments.html.tmpl'+
            ' comments = bug.comments,'+
            ' mode = "edit" %] ';

無効な文字は見当たりません。二重スラッシュ (//) も入れてみました。私は何が欠けていますか?

4

1 に答える 1

0

I think your code have to be something like this

var x = document.getElementById('comments');
x.innerHTML=  '[%~ PROCESS bug/comments.html.tmpl comments = bug.comments, mode = "edit" ~%]';
于 2013-09-30T18:05:47.010 に答える