Get data from a table with JQuery on mouse click
<p>I got a page where there is a table generated using CodeIgniter's table class.
Now is it possible to get the contents of a <code>&lt;td&gt;</code> tag by clicking on it using JQuery.
For example
My Table is something like this:</p>

<pre><code>&lt;table&gt;
&lt;th&gt;ID&lt;/th&gt;&lt;th&gt;Name&lt;/th&gt;&lt;th&gt;Age&lt;/th&gt;
&lt;tr&gt;&lt;td&gt;25&lt;/td&gt;&lt;td&gt;Jack&lt;/td&gt;&lt;td&gt;15&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;20&lt;/td&gt;&lt;td&gt;Jill&lt;/td&gt;&lt;td&gt;16&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
</code></pre>

<p>How can I get the contents (text) inside the  tag when it is clicked?</p>
