Codeigniter when i click delete i want pop up notification if if click yes or not

后端 未结 3 877
故里飘歌
故里飘歌 2021-01-24 23:31

Model:

 function delete_exchange($ExchangeRateId) {
    $this -> db -> where(\'ExchangeRateId\', $ExchangeRateId);
    $this -> db ->         


        
3条回答
  •  伪装坚强ぢ
    2021-01-24 23:56

    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..

提交回复
热议问题