var superscript = document.createElement(”sup”);
superscript.appendChild(link);
elem.appendChild(superscript);


var superscript = document.createElement(”sup”);
superscript.appendChild(link);
elem.appendChild = (superscript);

1st javascript editor 居然 debug也出不来,firebug也没有找出来.
最后一行一行自己排查出来,没有一个好用的IDE 真的挺麻烦,主要是1st javascript editor 破解版只能提醒只能用几分钟就没有了.

我还是习惯于用IDE的提醒功能啊,ZS写JS也几乎没有提醒,麻烦.