Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Struts
Search Coderanch
Advance search
Google search
Register / Login
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
Tim Cooke
Ron McLeod
paul wheaton
Jeanne Boyarsky
Sheriffs:
Paul Clapham
Devaka Cooray
Saloon Keepers:
Tim Holloway
Roland Mueller
Himai Minh
Bartenders:
Forum:
Struts
Delete Confirmation window
K Amin
Greenhorn
Posts: 8
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
I am very new to
Struts
. I have been using an ActionForward Delete function to delete data from a db table. I need to pop up a confirmation window for delete. If any body can help me with this, it will be great.
Merrill Higginson
Ranch Hand
Posts: 4864
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
This can be done with JavaScript. Example:
<html:submit value="delete" onklick="return confirm('Are you sure?')" />
Note that the above should be onclick. I used onklick to get around the JavaRanch filters.
Merrill
Consultant,
Sima Solutions
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
JDBC/ODBC classnot found exception
pop-up confirmation window for html:submit
Javascript confirm delete
How to take out confirmations
alternattive to usage of javscript
More...