These are chat archives for filearts/plunker

10th
Jan 2019
ankitkurariya
@ankitKurariya_twitter
Jan 10 05:26
its simple
tell how to insert a table in for loop
rows and column
ankitkurariya
@ankitKurariya_twitter
Jan 10 09:46

<!DOCTYPE html>

<html>
<head>
<title>Table</title>
<script type="text/javascript">
function printTable(){
var num;
num=Number(document.getElementById('txtNumber').value);

for(var i=1; i<=10; i++){

var pTag= document.getElementById('pPrint');
pTag.innerHTML += (numi) + "<br/>"
}
num=Number(document.getElementById('txtNumber').value);
for(var i=1; i<=10; i++){
var pTag= document.getElementById('pPrint');
pTag.innerHTML += (2
i) + "<br/>"
}
num=Number(document.getElementById('txtNumber').value);
for(var i=1; i<=10; i++){
var pTag= document.getElementById('pPrint');
pTag.innerHTML += (3i) + "<br/>"
}
num=Number(document.getElementById('txtNumber').value);
for(var i=1; i<=10; i++){
var pTag= document.getElementById('pPrint');
pTag.innerHTML += (4
i) + "<br/>"
}
num=Number(document.getElementById('txtNumber').value);
for(var i=1; i<=10; i++){
var pTag= document.getElementById('pPrint');
pTag.innerHTML += (5i) + "<br/>"
}
num=Number(document.getElementById('txtNumber').value);
for(var i=1; i<=10; i++){
var pTag= document.getElementById('pPrint');
pTag.innerHTML += (6
i) + "<br/>"
}
num=Number(document.getElementById('txtNumber').value);
for(var i=1; i<=10; i++){
var pTag= document.getElementById('pPrint');
pTag.innerHTML += (7i) + "<br/>"
}
num=Number(document.getElementById('txtNumber').value);
for(var i=1; i<=10; i++){
var pTag= document.getElementById('pPrint');
pTag.innerHTML += (8
i) + "<br/>"
}
num=Number(document.getElementById('txtNumber').value);
for(var i=1; i<=10; i++){
var pTag= document.getElementById('pPrint');
pTag.innerHTML += (9i) + "<br/>"
}
num=Number(document.getElementById('txtNumber').value);
for(var i=1; i<=10; i++){
var pTag= document.getElementById('pPrint');
pTag.innerHTML += (10
i) + "<br/>"
}
}
</script>
</head>

<body>

<h1>Table</h1>
<p><input type="text" id="txtNumber"/></p>
<p><input type="text" id="txt1Number"/></p>
<p><input type="button" value="Print Table." onclick='printTable()'/>
<!--print numbers-->
<p id="pPrint"></p>
</body>

</html>

here