我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

使用CakePHP创建删除按钮

I want to create a delete button using bootstrap,

currently I have this:

<a class="btn btn-danger remover" data-refid="3" href="#" data-toggle="tooltip" data-placement="top" title="Remover">
    <i class="icon-remove icon-white"></i>
</a>

But I want my 'action' => 'delete', $variable['']['']

any Idea how I can do this ?

You mean like the delete link example in the doc ?

近期文章

  • 始终在顶部弹出窗口
  • Yii timepicker文本框大小
  • PHP / HTML替换/模板引擎[关闭]
  • 从mysql表加载图像
  • 仅在下载完成后执行代码并提取PHP
  • 在表单提交上显示隐藏的div(javascript和PHP)
  • 使用ORM样式在CodeIgniter中编写模型类
  • openLDAP MySQL密码类型
  • 通过复选框获取数据
  • 十六进制到PHP中的图像
  • 使用组合框填充另一个组合框,以便用户可以运行查询
  • PHP`rawurlencode`和JS`codingURIComponent`之间的不同行为是否重要?
  • 在php中转换日期会根据日期格式返回不同的结果
  • 如何使用wse-php库通过SOAP连接到安全的Web服务
  • 有一段时间后,登录我的网站失败了
  • 关闭表现出乎意料
  • 复杂html div的正则表达式模式
  • 在php中替换 换行符
  • 使用url数据在页面加载时加载jQuery弹出窗口?
  • 使用W3总缓存在帖子上刷新类别

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华