Quantcast
Channel: jQuery Library for SharePoint Web Services
Viewing all articles
Browse latest Browse all 6517

New Comment on "$().SPServices.SPRedirectWithID"

$
0
0
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

Viewing all articles
Browse latest Browse all 6517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>