I have array values like this. I want to display these values in HTML table tag
<script type="text/javascript">
var orderArray = [
["1","29-Aug-2012", "Product1", "client1"],
["2","29-Aug-2012", "Product2", "client2"],
["3","29-Aug-2012", "Product3", "client3"],
["4","29-Aug-2012", "Product4", "client4"],
["5","29-Aug-2012", "Product5", "client5"]
];
function display()
{
for(i=0;i<ordertArray.length;i++)
{
//How to display values of array inside the div or table tag ???
}
}
</script>
How to display values of array inside the div or table tag ???
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…