If you got those errors, that means you were in the right direction to make the jqGrid working.
The first two errors "jQuery is not defined...." -- You include the libraries.
<script src="http://trirand.com/blog/jqgrid/js/i18n/grid.locale-en.js" type="text/javascript"></script>
<script src="http://trirand.com/blog/jqgrid/js/jquery.jqGrid.js" type="text/javascript"></script>
The last error is the one I mentioned in the previous post.
});
</script>