title: WebUI-Popover didn't work inside while loop in a table
body: <p>I'm trying to create a popover using <a href="https://github.com/sandywalker/webui-popover" rel="nofollow noreferrer">https://github.com/sandywalker/webui-popover</a>. Here's my scenario whenever I click the calendar button inside my data table it will appear the popover shows the date and time of the said data in Mysql Database. But my code doesn't work. Here's my interface:</p>
  
  <p><a href="https://i.stack.imgur.com/HmweL.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HmweL.jpg" alt="enter image description here"></a></p>
  
  <pre><code>&lt;table class="table table-condensed tablehead table-sortable table-hover" style="width:99%"&gt;
      &lt;tr&gt;
          &lt;thead&gt;
          &lt;th&gt;Transmittal #&lt;/th&gt;
          &lt;th&gt;Transmittal Date&lt;/th&gt;
          &lt;th&gt;Sender Name&lt;/th&gt;
          &lt;th&gt;Receiver Name&lt;/th&gt;
          &lt;th&gt;Invoice #&lt;/th&gt;
          &lt;th&gt;Document Type&lt;/th&gt;
          &lt;th&gt;Vendor Name&lt;/th&gt;
          &lt;th&gt;Status&lt;/th&gt;
          &lt;/thead&gt;
      &lt;/tr&gt;
  
      if($_SESSION['userrole'] == 2){
              $qry = "SELECT en.`transid`, en.`transdate`, 
                  CONCAT(userlist.lname, ', ', userlist.fname, ' ', userlist.mname) AS sender_name, 
                  CONCAT(userlist1.lname, ', ', userlist1.`fname`, ' ', userlist1.`mname`) AS receiver_name,
                  en.`document_number`, doctype.`document_type`, vendor.`vendor_name`, stat.status_name,
                  en.date_process, en.status_id 
                  FROM `tbl_encode_transmittal` en 
                  LEFT JOIN `tbl_acknowledgetransmittal` acknowledge ON en.`transid` = acknowledge.`transid`
                  LEFT JOIN tbl_userlist userlist ON userlist.userid = en.sender_id
                  LEFT JOIN tbl_userlist userlist1 ON userlist1.userid = en.`receiver_id`
                  LEFT JOIN `tbl_doctype` doctype ON doctype.`doc_id` = en.`doctype_id`
                  LEFT JOIN tbl_vendor vendor ON vendor.`vendor_id` =  en.vendor_id
                  LEFT JOIN tbl_status stat ON stat.status_id = en.status_id
                  WHERE en.`sender_id` =  '" . $_SESSION['userid'] . "'
                  ORDER BY en.status_id";
  
              $res = mysql_query($qry) or die(mysql_error());
              echo "&lt;tr&gt;";
              while($row = mysql_fetch_array($res)){
                      echo "&lt;tr&gt;";
                      echo "&lt;tbody id=\"myTable\"&gt;";
                      echo "&lt;td&gt;&lt;h6&gt;" . $row['transid'] . "&lt;/h6&gt;&lt;/td&gt;";
                      echo "&lt;td&gt;&lt;h6&gt;" . date("F j, Y", strtotime($row['transdate'])) . "&lt;/h6&gt;&lt;/td&gt;";
                      echo "&lt;td&gt;&lt;h6&gt;" . $row['sender_name'] . "&lt;/h6&gt;&lt;/td&gt;";
                      echo "&lt;td&gt;&lt;h6&gt;" . $row['receiver_name'] . "&lt;/h6&gt;&lt;/td&gt;";
                      echo "&lt;td&gt;&lt;h6&gt;" . $row['document_number'] . "&lt;/h6&gt;&lt;/td&gt;";
                      echo "&lt;td&gt;&lt;h6&gt;" . $row['document_type'] . "&lt;/h6&gt;&lt;/td&gt;";
                      echo "&lt;td width=\"200\"&gt;&lt;h6&gt;" . $row['vendor_name'] . "&lt;/h6&gt;&lt;/td&gt;";
  
                      //////////////////////////////////////////////////////////
                      /////////           Pending Button Status       //////////
                      //////////////////////////////////////////////////////////
                      if($row['status_name'] == 'Pending'){
                          echo "&lt;td&gt;&lt;button type=\"button\" class=\"btn btn-primary disabled\"&gt;&lt;i class=\"fa fa-history fa-lg\"&gt; ".$row['status_name']."&lt;/i&gt;&lt;/button&gt;&lt;/td&gt;";
                      }
  
                      //////////////////////////////////////////////////////////
                      /////////         Acknowledge Button Status     //////////
                      //////////////////////////////////////////////////////////
                      elseif($row['status_name'] == 'Acknowledge'){?&gt;
                          &lt;td&gt;
                              &lt;button type="button" class="btn btn-success disabled"&gt;&lt;i class="fa fa-thumbs-o-up fa-lg"&gt;&lt;?php echo" " . $row['status_name']; ?&gt;&lt;/i&gt;&lt;/button&gt; &lt;a href="#" class="btn btn-link show-pop left-bottom" data-placement="left-bottom" data-content="&lt;?php echo $row['date_process']; ?&gt;" id="click-acknowledge"&gt;&lt;i class="fa fa-calendar"&gt;&lt;/i&gt;&lt;/a&gt;
                          &lt;/td&gt;
  
                      &lt;?php }
  
                      //////////////////////////////////////////////////////////
                      /////////        On-Process Button Status       //////////
                      //////////////////////////////////////////////////////////
                      else if($row['status_name'] == 'On-Process'){?&gt;
                          &lt;td&gt;&lt;button type="button" class="btn btn-warning disabled"&gt;&lt;i class="fa fa-cogs fa-lg"&gt;&lt;?php echo" " . $row['status_name']; ?&gt;&lt;/i&gt;&lt;/button&gt; &lt;a href="#" class="btn btn-link show-pop left-bottom" data-placement="left-bottom" data-content="&lt;?php echo $row['date_process']; ?&gt;" id="click-acknowledge"&gt;&lt;i class="fa fa-calendar"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/td&gt;
                      &lt;?php }
  
                      //////////////////////////////////////////////////////////
                      /////////        Incomplete Button Status       //////////
                      //////////////////////////////////////////////////////////
                      else if($row['status_name'] == 'Incomplete'){?&gt;
                          &lt;td&gt;&lt;button type="button" class="btn btn-danger disabled"&gt;&lt;i class="fa fa-ban fa-lg"&gt;&lt;?php echo" " . $row['status_name'];?&gt;&lt;/i&gt;&lt;/button&gt; &lt;a href="#" class="btn btn-link show-pop left-bottom" data-placement="left-bottom" data-content="&lt;?php echo $row['date_process']; ?&gt;" id="click-acknowledge"&gt;&lt;i class="fa fa-calendar"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/td&gt;
  
                      &lt;?php }
  
              }
          }
  
      ?&gt;
          &lt;/tbody&gt;
      &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>