I'm trying to add HTML content into a Multiline Text field (Enhaced Rich Text).
When I set field to pure string, the field is updated:
$().SPServices({
operation: "UpdateListItems",
async: false,
batchCmd: "New",
listName: "LIST",
valuepairs: [["scTabela", "OLA"]],
completefunc: function (xData, Status) {
}
});
But when I set field to html, no error occurs, but the field is not updated. Field stay blank.
$().SPServices({
operation: "UpdateListItems",
async: false,
batchCmd: "New",
listName: "LIST",
valuepairs: [["scTabela", "<p>Olá</p>"]],
completefunc: function (xData, Status) {
}
});
I don't know what I'm doing wrong. Anyone can help me?