Hi,
I am tying to use SPServices very newly. Here I found out how to get the data from a list. But can i use wild card character like* here? In my below code I have used a full title JOHN, but if I want to search all entries srating fromH how to do that. Also How can I search between 2 dates?
var fieldsToRead = "<ViewFields>" +
"<FieldRef Name='Title' />" +
"<FieldRef Name='Name' />" +
"</ViewFields>";
var query = "<Query>" +
"<Where>" +
"<Neq>" +
"<FieldRef Name='Title'/><Value Type='Text'>JOHN</Value>" +
"</Neq>" +
"</Where>" +
"<OrderBy>" +
"<FieldRef Name='Title'/>" +
"</OrderBy>" +
"</Query>";
function GetListDetails() {
$().SPServices({
operation: "GetListItems",
async: false,
listName: "List1",
CAMLViewFields: fieldsToRead,
CAMLQuery: query,
completefunc: function (xData, Status) {});