This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

2 jsp buttons

 
Tracy Zoller
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am writing code that returns many rows of data about individuals. Next to each row is an edit button followed by a delete button. I need the edit button when clicked to prompt the user as to whether they'd like to edit the existing record or if they'd like to add a new one. If they choose to edit the existing record they will go to edit record page, if they choose to add a new record they will be brought to the new record page. The delete button should ask the user "Are you sure you want to delete this record?" IF yes, dump the record into a separate deleted records table and if no, keep focus on original page.
The following is part of the code:

Can anyone help? Thank you in advance.
 
Jason Menard
Sheriff
Posts: 6450
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since it doesn't seem like you have anything framework specific there, you might want to try the JSP forum. Although looking at your problem you may actually want to go to the HTML/JavaScript forum. Are you wanting a dialog to pop up when you hit the edit/delete buttons, have another page pop open, or simply go to some other page?
In either of the first two options, that's the kind of thing the helpful people in the HTML/Javascript forum live for, so I wouldn't want to infringe on their raison d'etre.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic