**It works fine. I did programmatically in `SPSevices`.** 

    $(document).ready(function() {
        
        var idquery=""; 
        $().SPServices({
         operation: "GetListItems", 
        async: false, 
        listName: "test", 
        CAMLQuery: idquery, 
        CAMLRowLimit: 1, 
        completefunc: function (xData, Status) 
        { 
        $(xData.responseXML).SPFilterNode("z:row").each(function() { //alert($(this).attr("ows_Title")); 
        var getvalue= parseInt($(this).attr("ows_Title"))+1;//Auto increment value $("input[title='TicketNumber']").val(getvalue);
        
                });
             } 
            });

   
 **1. Get value in variable `parseInt($(this).attr("ows_Title"))+1;`
 2. Bind text box `TICKET Number`
<a href="http://peakfinders.blogspot.in/2015/10/how-to-get-id-of-last-inserted-row-in.html">Click here more details</a>**