javascript appendChild,innerHTML,join性能比较代码
发布时间:2016-12-30 来源:查字典编辑
摘要:复制代码代码如下:appendChild,innerHTML,join
复制代码 代码如下:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>appendChild,innerHTML,join</title>
<script type="text/javascript"><></script>
</head>
<body>
<input type="text" id="tbText" value="ws_hgo " /><br />
<input type="text" id="tbTimes" value="1000" /><br />
<input type="text" id="TbDate" /><br />
<input id="Button1" type="button" value="Append" />
<input id="Button2" type="button" value="innerHTML" />
<input id="Button3" type="button" value="Join" />
<div id="div1">
</div>
</body>
</html>