<script>
		var myarray = [ "4070C001","4070C003","4070C004","4070C005","4070C007",
			"4070C009","4070C010","4070C013","4070C016","4070C018"];
	</script>

<h1>以不同方法印出陣列的內容</h1>

<h2>使用迴圈方式處理</h2>
<input type='button' value='方法-1:按我看結果' onclick='mod1()' /><br />
<div id='mod1'></div>


<h2>使用 myarray.forEach 方式處理</h2>
<input type='button' value='方法-2:按我看結果' onclick='mod2()' /><br />
<div id='mod2'></div>