显示数字html代码
<pre id="bb"></pre>
<div style="display:none" id="m">1,2,3,4,5,6,7 </div>
<input type="button" value="显示1" onclick="type2()" />
<script language="javascript">
function type2(){
document.getElementById("bb").innerHTML = document.getElementById("m").innerHTML;
};
</script>