I have an array that each value of an array holds some html code.
The problem that I have is the output looks like this
How can (without loops) take out the comma within the output?
thanks,
timgerr
-How important does a person have to be before they are considered assassinated instead of just murdered?
-Need more cow bell!!!
Code:
<html>
<head>
<title>Untitled Document</title>
<script type="text/javascript">
var test = new Array();
var num;
test[0] = 'This is a test <br />';
test[1] = "This is another test <br />";
</script>
</head>
<body>
<div id="pHere"></div>
<script type="text/javascript">
document.getElementById('pHere').innerHTML = test;
</script>
</body>
</html>
Code:
This is a test
,This is another test
thanks,
timgerr
-How important does a person have to be before they are considered assassinated instead of just murdered?
-Need more cow bell!!!