• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Dynamically insert a row in an HTML table

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi....
can anyone give a solution to my problem ??
its a bit urgent !!!
 
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic