Hello actkillerby,
One way to do that is to use the javascript join function with document.write and display your data into an HTML table like below:
Code:
toys=new Array();
toys[0]=new Array("ZWS019","House",169.73);
toys[1]=new Array("ZWS026","Aeroplane",171.43);
toys[2]=new Array("ZWS034","Car",54.36);
toys[3]=new Array("ZWS036","Lorry",182.76);
toys[4]=new Array("ZWS037","Doll",150.95);
toys[5]=new Array("ZWS047","Soldier",154.12);
document.write('<table cellspacing="0" cellpadding="3" border="1">');
for(i=0;i<toys.length;i++){
document.write('<tr><td>');
document.write(toys[i].join("</td><td>"));
document.write('</td></tr>');
}
document.write('</table>');
Hope this help!
Bookmarks