/ Forside / Teknologi / Udvikling / HTML / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
HTML
#NavnPoint
molokyle 11184
Klaudi 5506
bentjuul 3377
severino 2040
smorch 1950
strarup 1525
natmaden 1396
scootergr.. 1320
e.c 1150
10  miritdk 1110
How can i get back dynamically added table~
Fra : Sreedhar Pasurla


Dato : 15-01-03 18:12

Hi,
In my ASP Page (Page1.asp) i am adding dynamic rows(<tr>) to a table
by using the following
javascript code.

var newRow = document.all.table1.insertRow(numrows);
vCell=newRow.insertCell();
vCell.innerHTML = "<input type='text' size='15' name='text1'
id='text1'>"

And i am submitting this page to Page2.asp on a button click. In
Page2.asp i have Back button,
which is used to get Page1.asp (by using window.history.back()).
Whenever i am visiting Page1.asp
from Page2.asp (by using Back button), i am losing all the dynamically
added rows(<tr>). But i don't want to
lose that data. Why it is happening like this? How can i preserve
those rows (including data)?
Please help me to resolve this issue.

Thanks,
Sreedhar.

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

Månedens bedste
Årets bedste
Sidste års bedste