This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
I've been around this forum for a while and you people have saved me a lot of times (thanks by the way), but this time I haven't found any answer to my specific problem, so I'm opening this new thread.
The situation is as follows: In my web app I have a "delete" link, which calls an action to do the work, it looks like:
It works like a charm. But I would like to ask before deletion.
I am not quite sure about struts2 tags but his is how i can see your problemThis line of code is trying to do 2 things asynchronously.
1. On Click event
2. href event.
removing either of them would work fine. I prefer you remove onclick and retain href. Try the below piece of code and see if it works out.
Have Fun with Java
little,little.. little by little makes a lot..
Joined: Jul 28, 2011
Works like a charm.
Thanks a lot
"live another day and learn another thing"
subject: Problem asking for confirmation before excecuting an action