Deleting programatically created column

Feb 26, 2013 at 8:22 AM
I have created a column programatically but I m not able to delete it either programatically or through UI. Please help. The code is below:
var sn="Name";
var dfields="<Fields><Method ID='1'><Field Name='"+sn+"'/></Method></Fields>";
alert(dfields);
$().SPServices({
operation: "UpdateList",
listName: "dum",
deleteFields: dfields,
completefunc: function(xData, Status)
{
alert(xData.responseText);

}
});
Coordinator
Feb 26, 2013 at 7:37 PM
Are you getting an error?

M.