I have the following link to a delete function in cake:
<?php echo $this->Form->postLink(__(''), array('action' => 'delete', $website['Website']['website_id']), array('class' => 'icon-trash '), null, __('Are you sure you want to delete # %s?', $website['Website']['website_id'])); ?>
Now as you can see there should be a message saying: Are you sure you want to delete?
But when i click the link nothing happens (exepect from my field being deleted ofcourse :P )
So how can i make the link display a confirmation box?