title: Bootstrap editable does'nt follow PHP created table `while`
body: <p>I'm using <code>Bootstrap Editable</code> to get "Inline editing" in a PHP generated table.
  My problem is that i'n only getting the first line in printed table to get "Editable". When i press the first table row, it's all works. But when i press the link of second table row, it´s just a link. It does'nt show up any Javascript.
  What am i missing? The <code>HTML</code>looks fine?! And the "server-side" PHP can't be involved. Is it, the main JS of "Bootstrap Editable"?</p>
  
  <p><strong>HTML/PHP</strong></p>
  
  <pre><code>while ($row = $stmt-&gt;fetch()){
      echo "&lt;tr&gt;";
          echo "&lt;td&gt;&lt;a href='#' id='element_ant' data-name='element_ant' data-type='text' data-pk='".$row['id']."' data-url='php/edit_scanned_elements.php' data-title='Anteckning..'&gt;".$row['element_ant']."&lt;/a&gt;&lt;/td&gt;";
      echo "&lt;/tr&gt;";
  </code></pre>
  
  <p><strong>HTML debugger</strong></p>
  
  <pre><code>&lt;tr&gt;&lt;td&gt;&lt;span id='objekt_nr'&gt;23047-3&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span id='element_nr'&gt;104&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span id='element_scanned_by'&gt;Rosa, &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span id='element_scanned_where'&gt;R.Avf- &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span id='element_scanned_when'&gt;2015-01-20 04:13:32&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;a href='#' id='element_ant' data-name='element_ant' data-type='text' data-pk='3190' data-url='php/edit_scanned_elements.php' data-title='Anteckning..'&gt;test1&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
  
  &lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;span id='objekt_nr'&gt;23047-3&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span id='element_nr'&gt;113&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span id='element_scanned_by'&gt;Rosa, &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span id='element_scanned_where'&gt;R.Avf- &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span id='element_scanned_when'&gt;2015-01-20 04:13:29&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;a href='#' id='element_ant' data-name='element_ant' data-type='text' data-pk='3189' data-url='php/edit_scanned_elements.php' data-title='Anteckning..'&gt;test&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
  </code></pre>
  
  <p><strong>Custom JS</strong></p>
  
  <pre><code>$(document).ready( function () {  
      $('#element_ant').editable({
          title : 'Enter comments'
      });
  });
  </code></pre>