I have table called view results in my db.it has 3 columns.. I want hide its 3rd column 'Apply Recorrection ' after 14 days.Example : Table show date is 2012-12-01.After 14 days how can I hide this 3rd column (IN 2012-12-15 table will not visible to students who refer this table..).... Here is my sample code:
<table border=1>
<tr><th>Student ID</th><th>Grade</th><th>Apply Recorrection</th>
<tr><td>RS211</td><td>C</td><td>Click Here</td></tr>
<tr><td>RS221</td><td>B</td><td>Click Here</td></tr>
<tr><td>RS251</td><td>F</td><td>Click Here</td></tr>
</table>
JS code:
$("table td:nth-child(3)").hide();
Demo code link: http://jsfiddle.net/ELRpv/4/
Help me to edit this code to do my task...