Model:
function delete_exchange($ExchangeRateId) {
$this -> db -> where(\'ExchangeRateId\', $ExchangeRateId);
$this -> db ->
you need to do that client side.. in your view... onclick event of a button where you want the conformation use confirm()
...
add this to you button..
function confirmation()
{
var r=confirm("are you sure to delete?")
if (r==true)
{
alert("pressed OK!")
// call the controller
}
else
{
alert("pressed Cancel!");
return false;
}
}