Question: What is the best way to add redirect function into the save button on a newform in SharePoint 2013.

When the user create a list item, he/she should be redirected to another form.
Is it possible to get and parse the new generated item ID?

Start - Newform URL: <http://mysharepoint.com/sites/project/lists/alist/NewForm.aspx>

End - Editform URL: <http://mysharepoint.com/sites/project/lists/alist/EditForm.aspx?ID=88>

Thanks

Answer: 
Danny gave a great answer already, but in case someone is looking to do this within a SharePoint-Hosted App, you can create a custom button within Default.aspx with this code:

```
<asp:HyperLink CssClass="menuLink" runat="server" NavigateUrl="JavaScript:window.location = _spPageContextInfo.webAbsoluteUrl + 
            '/Lists/ListName/NewForm.aspx?Source=' + _spPageContextInfo.webAbsoluteUrl + '';" Text="Add New List Item" />

```

This button will bring the user to the NewForm.aspx and after they save, it will bring them back to Default.aspx in the App / Add-in Web
I racked my brain trying to figure out how to both save and redirect to another page and after almost a week of failed attempts I discovered this page on msdn that reveals the different properties of the SharePoint:SaveButton. <https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.webcontrols.savebutton_members.aspx>

After tinkering around for a bit I discovered that by using RedirectURL I could both save and redirect to another page. See code below:

```
<SharePoint:SaveButton  RedirectUrl="http://mysitecollection/Pages/Thank-You.aspx" runat="server" ControlMode="Edit" id="savebutton2"/>

```

I only tested this on SP2013 on premise. It only seemed to work when I used a url that was in my site collection(and only after I used <http://mysitecollection/Pages/Thank-You.aspx> rather than ../../Thank-You.aspx), but that's what I needed it for anyways so it solved my problem. Perhaps there's something else that needs to be done to redirect to an external page, but otherwise this was a breakthrough for me.

Hope that helps others that come across this page.