I have 5 content types that I'd like to chain together with links in the NewForm.aspx. User clicks "save and add new item", "save and add new contact" etc.
When adding SPRedirectWithID with the parent ID, or anything for that matter, the NewForm just routes back to the item list... no redirection takes place, and my other code seems to be voided.
var params = window.location.search.split("%2F");
var cust = params.split("&");
Any suggestions for how to get the chaining to work properly? The first part of code shown just takes a customer name from the URL and cleans it up. crID is the parent.
Thanks, this is a great library of code!! I'm new to jquery so this really helps