JavaScript:Tables

Overview

 * Creating tables in JavaScript requires the use of the DOM table Object Model. As &lt;table> and &lt;tr> are read only attributes in Internet Explorer, this means you can't use innerHTML to create rows in a table. To manage this JavaScript has a DOM Table object model.

Refer to: http://www.w3schools.com/jsref/dom_obj_table.asp

Creating a Table and adding rows
For insertRow 0 = insert at the top of the table, -1 = at the bottom and a number indicates which row,

Ref: http://www.w3schools.com/jsref/met_table_insertrow.asp

Displaying in a pop-up window
{{vmv:Source| ");	winMsg.document.write(" "); }  }}