0

我想利用可点击的图像来触发删除操作。单击时,我还需要加载警报消息以确认操作。任何人都可以建议如何将它实现到我现有的代码中,如下所示:

echo $popup->link($html->image("delete.jpg", array('alt' => 'Delete', 'title'=>'Delete Enquiry')));
4

1 回答 1

0

我蛋糕 php 我们发出这样的警报:-

<?php echo $this->Html->link(__('Delete', true), array('action' => 'delete', $tduPrice['TduPrice']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $tduPrice['TduPrice']['id'])); ?>

根据你的代码修改它..

于 2012-05-16T10:28:33.740 回答