function createTable() { rn = window.prompt("Input number of rows", 1); cn = window.prompt("Input number of columns",1); for(var r=0;r