title: Codeigniter when i click delete i want pop up notification if if click yes or not
body: <p><strong>Model:</strong></p>
  
  <pre><code> function delete_exchange($ExchangeRateId) {
      $this -&gt; db -&gt; where('ExchangeRateId', $ExchangeRateId);
      $this -&gt; db -&gt; delete('exchange_rate');
  }
  </code></pre>
  
  <p><strong>Controller:</strong></p>
  
  <pre><code>function delete($ExchangeRateId) {
          $user_type = $this -&gt; session -&gt; userdata('user_type');
          if ($user_type != "admin") {
              redirect(base_url() . 'user_admin/login');
          }
          $this -&gt; all -&gt; delete_exchange($ExchangeRateId);
          redirect(base_url() . 'exchange/index');
      }
  </code></pre>
  
  <p>The delete button is clear, here I want a notification like pop up yes or then must run the action I mean delete on</p>