prev

Selects the previous page:

    <div id="pager"></div>
    <script type="text/javascript">
    $(function () {
        $("#pager").shieldPager({
            totalItems: 99,
            events: {
	            change: function (e) {
		            alert(e.currentPage);
	            }
            }
        });
    });

    function goToPrevPage() {
        $("#pager").swidget().prev(); // Selects the previous page
    } 

    </script>