I am a newbie to MVC. Please forgive me for this newbie question. I am using JQuery table sorter plugin for sorting a html table. I am using this tablesorter plugin. But this one doesn't seem to work.
My javascript code:
<head>
<title>Test Header</title>
<script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.11.0.min.js"</script>
<script src="~/Scripts/jquery-latest.js"></script>
<script type="text/javascript" src="~/Scripts/jquery.tablesorter.js"></script>
<script type="text/javascript">
$(document).ready(function () {
alert("hi");
$("#tab").tablesorter();
}
);
</script>
</head>
HTML Code:
<div>
<table id="tab" class="tablesorter">
<thead>
<tr>
---Header part---
</tr>
</thead>
<tbody>
---Body Part---
</tbody>
</table>
</div>
Please help me. Thanks in advance :)