This is the chunch of code that I am working with. I am trying to get only the events (normal/all day/recurring) to show, and it is returning all items for the whole week. Any ideas?
$(document).ready(function(){
$().SPServices({
operation: "GetListItems",
async: false,
listName: "Calendar",
CAMLViewFields: "<ViewFields><FieldRef Name='Title' /></ViewFields>",
CAMLQuery: '<Query>' +
'<Where>' +
'<DateRangesOverlap>' +
'<FieldRef Name="EventDate" />' +
'<FieldRef Name="EndDate" />' +
'<FieldRef Name="RecurrenceID" />' +
'<Value Type="DateTime">' +
'<Today />' +
'</Value>' +
'</DateRangesOverlap>' +
'</Where>' +
'</Query>',
completefunc: function (xData, Status){
$(xData.responseXML).SPFilterNode("z:row").each(function(){
var lihtml = "<li>" + $(this).attr("ows_Title") + "</li>";
$("#calendarItems").append(lihtml);
});
}
});
});