I have a jsp form with backend code in java.!! I have a delete option where i delete a record which is happening successfully.!! What i want is that when the user presses the delete option a confirmation box should appear.If user presses ok than only record should be deleted...else if he presses cancel..than nothing should happen..!! Can anyone help?
Joined: Oct 22, 2003
My delete link is not a button but i am using as href... so how to go abt it?
Joined: Nov 25, 2003
Ugh, the person wants to see code and not an explaination....
That is what you need to do if you are submitting a form, If you are submitting to a link then you will need to pass it to the function. If you need help doing that I am sure someone here can help since this is the onl time I will be on today since I am in Vegas on vacation. Eric
rose, just some (hopefully) helpful advice. If you are going to continue to work on web applications, you are going to have to start writing some code yourself and being able to answer these easier questions on your own. For starters, I recommend "DHTML: The Definitive Reference" by Danny Goodman as a client-side reference. bear