Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dynamically insert a row in an HTML table

 
Nabha Panat
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Can anyone suggest a solution to the following problem :
I have an HTML table (or a JSP) with say 5 rows. This HTML is thrown by a servlet.
Depending on some user inputs, I want to insert a row in the table.. say at position 2.. i.e a row should get inserted in between the existing rows and not get appended to the existing rows.
thanks in advance !!
 
Nabha Panat
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi....
can anyone give a solution to my problem ??
its a bit urgent !!!
 
Kareem Gad
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can u be more specific,
i mean on when do u exactly intend to insert that row ?
before during or after the result has come back to the client browser
------------------
KaReEm
 
Nabha Panat
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Kareem ...
whenever the user performs a certain action (let's not go into the details of that.. since it is specific to my application), the request goes back to the servlet which will contain the logic to insert row. So in the servlet i am actually inserting the row and the HTML page is generated and shown to the user.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic