setAttribute ("onclick", "runCommand();"); 原来要让IE在动态生成的元素上运行onclick,我们不能使用setAttribute。相反,我们需要使用包装要运行的代码的匿名函数在 ...
確定! 回上一頁