Bueno al parecer, la importación del jquery tiene que ir antes de la importación del tablesorter (parece ser que por el tema del shorcut $ por lo que estuve leyendo en la web del jquery)
Haciendolo así, funciona correctamente :D
Pero.., al querer ordenar la tabla mediante un link externo no me funciona. He hecho lo que dice aquí: http://tablesorter.com/docs/example-trigger-sort.html pero no funciona.
Código Javascript
:
Ver original<script type="text/javascript">
$(document).ready(function()
{
$("#tablita").tablesorter();
$("#link").click(function() {
// set sorting column and direction, this will sort on the first and third column the column index starts at zero
var sorting = [[0,0]];
// sort on the first column
$("tablita").trigger("sorton",[sorting]);
// return false to stop default link action
return false;
});
});
</script>
El link es:
En que estoy fallando? Gracias, hasta luego! :)