Sorry bout this, I've searched and searched but I just can't find a straght forward guide on how to get this working.
I've created a file in a document library that basically has the jQuery library and the SPServices files defined and then the following code:
<script language="javascript" type="text/javascript">
$(document).ready(function() {
$().SPServices.SPRedirectWithID({
redirectUrl: "Confirmation.aspx",
qsParamName: "ID"
});
});
</script>
Where the Confirmation.aspx is a page that I've tried with the ID in there and it works when you call it manually.
When I try to save it, nothing happens, it just saves the record and doesn't go to a confirmation page.
I'm not sure what is meant when it says that there must be a redirect in place. How do I do this? If there's anyone that can help it would be greatly appreciated.
I don't think I'm the only one with this problem. I'm using 2010 on premise.
Thanks in advance!!
Phil
↧