I have tried a number of examples here but I can get my code to actually show a popup window before deletion. The code I use can be found here:
相关问题
- Views base64 encoded blob in HTML with PHP
- Is there a limit to how many levels you can nest i
- Laravel Option Select - Default Issue
- How to toggle on Order in ReactJS
- PHP Recursively File Folder Scan Sorted by Modific
if u use on-click the data will be deleted but to view result u have to refresh the page manually instead use onSubmit="return confirm('are you sure?')"
think it helps !
You just need to use the
onclick
method for your link or button:javascript confirmation
button for delete
Just say
try this