title: How to popup the confirm button?
body: <p>I cannot figure out where to put my <code>onclick = "return confirm('Are you sure?')</code> due to lot of concatenation in my case so please help me guys. here is my code:</p>
  
  <pre><code>echo "&lt;td&gt;&lt;a href='" . base_url().'admin/play/delete/' .$row-&gt;id."onclick="."return confirm('Are you sure?')".'&gt;" . "&lt;img src='".base_url()."admin_css/images/delete.png' title='delete' "/&gt;&lt;/a&gt;"/&gt;&lt;/a&gt;"."&lt;a href='".base_url().'admin/play/fav/' . $row-&gt;id . "'&gt;" ."&lt;img src='".base_url()."admin_css/images/star.png' title='edit'/&gt;"."&lt;/a&gt;&lt;/td&gt;";
  </code></pre>
  
  <p>Need help.</p>