title: open link in a pop up window in codeigniter
body: <p>I am trying to open a link in a pop up window. I wrote the following code. But when I click the link it does not open a pop up window. And also it opens a different link than the specified link</p>
  
  <p>link:</p>
  
  <pre><code>&lt;a href='#' class= 'tooltip' title='click to see information' onclick='linkopen(event);'&gt;&lt;?php echo $info-&gt;individual; ?&gt;&lt;/a&gt;
  </code></pre>
  
  <p>script:</p>
  
  <pre><code>function linkopen(event) {
      event.preventDefault();
      window.open(&lt;?php echo base_url().'marketing/incoming_call/info/'.$info-&gt;party_id; ?&gt;, "_blank", "toolbar=yes,scrollbars=yes,resizable=yes,top=500,left=500,width=400,height=400");
  }
  </code></pre>