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 comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...