jqueryスクリプトで何が問題になっていますか?文字列をjquery関数に渡すことはできませんか?
ここでスクリプト
function debug(message){
$("body").append("<div id=\"debug\">"+ $(message) +"</div>"):
}
debug("show this debug message in the div");
は、ここで私は
<div id="debug">[object Object]</div>
を取得したHTMLは、私が期待したHTMLは、あなたが$(、でオブジェクトを貼り付けている。この
<div id="debug">show this debug message in the div</div>
ありがとうございます。それは動作します。 –