/ Forside / Teknologi / Multimedie & design / FrontPage / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
FrontPage
#NavnPoint
molokyle 3730
bentjuul 3355
BjarneD 2776
dk 1515
emesen 1490
strarup 1480
catbody 1241
brokke44 1160
er_du_klog 1052
10  PARKENSS 1050
VBScript table problem, help!!
Fra : Jiador


Dato : 15-01-04 21:44

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

 
 
Søg
Reklame
Statistik
Spørgsmål : 177558
Tips : 31968
Nyheder : 719565
Indlæg : 6408925
Brugere : 218888

Månedens bedste
Årets bedste
Sidste års bedste