 |
 |
 |
| |
i use an array to save different informations, which is putting in the right place by "document.getElementById('content').innerHTML = test".
but between my information pieces are "," and i don't know why and how to erase them.
anny solution for me, the java script beginner?
thanks a lot.
<html>
<head>
<script type="text/javascript">
<!--
function testfunc(){
var test = Array()
test[0] ="test1"
test[1] ="test2"
test[2] ="test3"
document.getElementById('content').innerHTML = test
}
//-->
</script>
</head>
<body onLoad="testfunc()">
<div id="content">
</div>
</body>
</html> |
|
|
|