Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Delete a row from the result page  RSS feed

 
Kayla Siegel
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I need to create a report.jsp page which displays the result from the DB query. On each report row I have a <remove> button. When I click on this button, a row on the report page should be deleted. However, it deletes the wrong row, and the subsequent click the entire report disappear.

How can I distinguish which row I am deleting?

Thanks!
Kayla
 
Richard Green
Ranch Hand
Posts: 536
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
post your jsp code
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!