<script type="text/javascript" src="jquery-1.7.2.js"></script>
<script type="text/javascript" src="jquery.SPServices-0.7.2.js"></script>
//THIS WOUlD NEED TO BE WRAPPED IN EITHER A FUNCTION OR HANDLER
$().SPServices({
operation: "GetListItems",
async: false,
listName: "[List Name]",
webURL: "http://[site]/[subsite]",
CAMLViewFields: "<ViewFields><FieldRef Name='Title' /></ViewFields>",
completefunc: function(xData, Status) {
//THIS IS A HANDY WAY TO CHECK THE RESPONSE AND CLARIFY FIELDS
//alert(xData.responseText);
$(xData.responseXML).find("z\\:row").each(function() {
var liHtml = "<li>" + $(this).attr("ows_field15") + "</li>";
$("#taskItems").append(liHtml);
});
}
});
}