如何在php中添加删除按钮的确认弹出框 [英] How to add confirmation pop up box for delete button in php

查看:842
本文介绍了如何在php中添加删除按钮的确认弹出框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是php的新手。如何为此添加确认弹出框。您确定要删除吗?如果删除该文件是肯定的,如果是,则保留在同一页面中


< button id ='removebtn'name ='removebtn'class ='button' 的onclick = QUOT; removeFile(<?php print $ this-> prv_data ['attachment_ id']?>);">删除文件< / button>

解决方案

您好 -


此论坛致力于项目定制和编程,将您的问题放在相应的论坛中。


要查找论坛,请在此处记录您的问题:http://social.technet.microsoft.com/Forums/en-US/whatforum/threads


问候,


I am new to php . how do i add a confirmation pop up box to this. Are you sure you want to remove and if it is yes to remove the file and if it is no then to remain in the same page

<button id='removebtn' name='removebtn' class='button'  onclick=" removeFile(<?php print $this->prv_data['attachment_id'] ?>);">Remove File</button>

解决方案

Hi There-

This forum is dedicated to Project customization and programming, put your question in respective forum.

To find forum log your question here : http://social.technet.microsoft.com/Forums/en-US/whatforum/threads

Regards,


这篇关于如何在php中添加删除按钮的确认弹出框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆