Quantcast
Viewing all articles
Browse latest Browse all 6517

New Post: UpdateListItems Not Updating List?

I have a strange one here. Here's the code I'm using:
$().SPServices({
    operation: "UpdateListItems",
    async: false,
    batchCmd: "Update",
    listName: list,
    ID: prog,
    valuepairs: [["Notes", $("#notes").html()]],
    completefunc: function (xData, Status) {
        alert("Notes:" + $("#notes").html());
    }
});

notes is a rich text field in a dialog form, and I expect it to contain HTML tags. When I step through the code execution it looks like the HTML is preserved, but nothing gets written to the target list. Am I just missing something in the actual UpdateListItems call?


Viewing all articles
Browse latest Browse all 6517

Trending Articles



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