Thanks for your help, Paul. It's much appreciated!
I ended up rewriting the code using valuepairs instead of updates and it worked (well it worked more than it was, got to work out how to write the table html code to a list now!). Below's what I used instead (just in case anyone else experiences a similar issue)
I ended up rewriting the code using valuepairs instead of updates and it worked (well it worked more than it was, got to work out how to write the table html code to a list now!). Below's what I used instead (just in case anyone else experiences a similar issue)
function CreateNewItem2(name, address, email, tableCode) {
$().SPServices({
operation: "UpdateListItems",
webURL: "/sites/jeldwen/Masters/",
async: false,
batchCmd: "New",
listName: "SavedSearches",
valuepairs: [["Title", name],["Email", email],["Address", address],["Quote", tableCode]],
completefunc: function(xData,status){
alert(xData.responseText);
}
});
};