hi i have a table generated by servlet like this
table
tbody
!--row 1
trtdinput type=button value="Add row"/td/tr
!--row 2-
tr
tdinput type=text name=data/td
/tr
! --
/tdoby
/table
now i want to add new row at the comment
pecification
and reference [EMAIL PROTECTED]
Sent by: A mailing list about Java Server Pages specification and
reference [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:
Subject: adding row dinamically in tables
hi i have a table generated by servlet like this
table
tbody
!-
l 05, 2001 4:10 PM
Subject: Re: adding row dinamically in tables
u can use server side scripting instead of javascript.
Use a hidden field variable indicating the current number of rows.
on clicking the ad row button resubmit the page .
the code is like this
%
int Namecount =0;
Strin