How to show each cell table data in popup window using datatables?
<hr>

<p>How to show the popup for each cell with its table data using Datatables?</p>

<p>In the below script script i had used datatables plugin along with alert to show popup each cell but am not getting the proper output?How can i modify the script to show each cell data in popup widow when mouse click is done inside the each cell?</p>

<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-html lang-html prettyprint-override"><code> &lt;html&gt;
    &lt;head&gt;
    &lt;script src="http://code.jquery.com/jquery-1.11.3.min.js"&gt;&lt;/script&gt;
    &lt;link href="https://cdn.datatables.net/1.10.12/css/jquery.dataTables.css" rel="stylesheet" type="text/css" /&gt;
    &lt;script src="https://cdn.datatables.net/1.10.12/js/jquery.dataTables.js"&gt;&lt;/script&gt;
    &lt;/head&gt;
    &lt;table border="1" align="center" id="example" class="display"  width="100%"&gt;
    &lt;thead&gt;
    &lt;tr&gt;
    &lt;th&gt;a&lt;/th&gt;
    &lt;th&gt;b&lt;/th&gt;
    &lt;th&gt;c&lt;/th&gt;
    &lt;th&gt;d&lt;/th&gt;
    &lt;th&gt;e&lt;/th&gt;
    &lt;/tr&gt;
    &lt;/thead&gt;
    &lt;tbody&gt;
    &lt;tr&gt;
    &lt;td&gt;1&lt;/td&gt;
    &lt;td&gt;2&lt;/td&gt;
    &lt;td&gt;3&lt;/td&gt;
    &lt;td&gt;4&lt;/td&gt;
    &lt;td&gt;5&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
    &lt;td&gt;3&lt;/td&gt;
    &lt;td&gt;6&lt;/td&gt;
    &lt;td&gt;9&lt;/td&gt;
    &lt;td&gt;7&lt;/td&gt;
    &lt;td&gt;12&lt;/td&gt;
    &lt;/tr&gt;
    &lt;/tbody&gt;
    &lt;script&gt;
    $(document).ready(function()
    {
    $('#example tbody').click( function () {
      alert("test") ;
    });
    });
    &lt;/script&gt;
    &lt;/table&gt;
    &lt;/html&gt;</code></pre>
</div>
</div>
</p>