Jump to content

Inserrow()


bijan

Recommended Posts

var x=document.getElementById('lottery').insertRow(j+1) var r1=x.insertCell(0) var r2=x.insertCell(1) var r3=x.insertCell(2) var r4=x.insertCell(3) r1.innerText=results[j*4] r2.innerText=results[j*4+1] r3.innerText=results[j*4+2] r4.innerText=results[j*4+3]I used this code to generate a table row and insert the text into it,It works well in IE but it does not work in FireFox,What should I do ?

Link to post
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...