VBScript table problem, help!!

J

Jiador

Hello,
I created a WEB file with VBScript code that creates a table.
Now what I want is all the cell of this table to be an input text.
What I mean is I want to give the user the possibility to modify what
is in the cell.

Here is the code:

iteratorRow = 0
do while iteratorRow < 5
iteratorRow = iteratorRow +1
set GcipTR= Document.createElement("TR")

iteratorCol= 0
do while iteratorCol< 10
iteratorCol= iteratorCol+ 1
set GcipTD= Document.createElement ("TD")
GcipTD.innerText = iteratorRow & iteratorCol
GcipTR.appendChild GcipTD
loop

GcipTbody.appendChild GcipTR
loop

GcipTable.appendChild GcipTbody
Document.body.appendChild GcipTable

That create a beautiful table but like I said… I want the user to edit
the cells

Can you help me to find out how to do that please?

Thank for quick help
Francis
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top