Trouble with UpdateListItems

Nov 1, 2010 at 3:02 PM

Can anyone give me a clue why this function gives me a javascript error 'Object expected'?  I am sure I am just missing some typo at this point.

function rejectRequest(reqID){
			operation: "UpdateListItems",
 			listName: "RequestTOMembership",
 			ID: reqID,
 			valuepairs: [["Status", "Rejected"]],
			debug: false
}; //close function

From a DVWP I am passing the @ID as the reqID.  The ID is correct and valid on the RequestTOMembership list. Other SPServices are working on the page, but not this one.  I am loading the following library files:
I am hoping that I have just forgotten some important syntax and this can be cleared up quickly.
Thanks in advance!
Nov 1, 2010 at 4:01 PM

I don't see anything obviously wrong. You should use the completefunc to see what the Web Service is passing back in the SOAP response:

   completefunc: function(xData, Status) {