Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Wiki Markup
{code:javascript}
var HTML= "<input type='button' style='border: 1px black solid; backgroundColor:white' >Click Me</input>"
oo.innerHTML = HTML;
{htmlcode}

上面的两种方式一个是太繁琐,一个采用HTML形式拼写字符串不够形式化,不容易维护。

...