Hi All,

I am trying to get tooltip to work when I hover text in a table. It does work but it produces an extra data table column. If you have any idea how I can stop this, please let me know.

Thanks

David

<script type="text/javascript">
    $(document).ready(function(){
    $('[data-toggle="tooltip"]').tooltip();   
});
</script>

<td class="tableBody"><?php echo $rowExceptionReport->POID; ?></td>
        <td class="tableBody"><?php echo $rowExceptionReport->POProductID; ?></td>
        <td class="tableBody"><?php echo htmlspecialchars($rowExceptionReport->ExportDate); ?></td>
        <td class="tableBody"><?php echo htmlspecialchars($rowExceptionReport->Quantity); ?></td>
        <td class="tableBody"><?php echo htmlspecialchars(substr($rowExceptionReport->Description,0, 100)); ?></td>
        <td class="tableBody"><?php echo htmlspecialchars($rowExceptionReport->WHLReference);?></td>
        <td class="tableBody" data-toggle="tooltip" data-placement="top" title="<?php echo $rowExceptionReport->NominalCode?>"><?php echo htmlspecialchars(substr($rowExceptionReport->NominalCode,0,20)); ?>...</td>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.