This project has moved. For the latest updates, please go here.

I can't get any of the SPServices to work with WSS

Dec 29, 2010 at 5:17 PM
mpeterson79 Today at 1:02 PM  delete this comment
What's funny is that it seems I can't get any of the SPServices to work with WSS....
mpeterson79 Today at 1:03 PM  delete this comment
Here is an example of the code I have placed in the CEWP of newform.aspx:

<script language="javascript" type="text/javascript" src="/Javascript/jquery-1.4.2.min.js"></script>
<script language="javascript" type="text/javascript" src="/Javascript/jquery.SPServices-0.5.8.min.js"></script>
<script language="javascript" type="text/javascript">
redirectUrl: "editForm.aspx",
qsParamName: "ID"


You're not wrapping the call to SPServices in $(document).ready, so it's probably firing too early.


Dec 29, 2010 at 7:13 PM
Edited Dec 29, 2010 at 7:14 PM

It's also good to start with a simple alert function:


$(document).ready(function() {
	alert("jQuery Library Loaded");

If you get the alert, then you know all of the references to jQuery are valid and firing at the correct time.

Dec 30, 2010 at 2:21 PM



Can you tell me how to do that?  I'm a cut and paste code kind of person. 

Dec 30, 2010 at 2:41 PM
Edited Dec 30, 2010 at 6:10 PM

Nevermind.  I got it to work.  The path to the jquery and spservices libraries was incorrect. 

*commence slapping hand to forehead

Jan 2, 2011 at 3:18 PM

Glad you got it working! That's *the* most common issue people have, so don't feel too bad. ;+)