I am having a webmethod that returns some data.I'm using jquery to call that function with its Content type specified as XML.The problem is that it is working on local machine but not on server.The code i'm using is:
var arrInputs = pnl.getElementsByTagName("input");
str = arrInputs[0].value;
$.ajax({
type: "POST",
url: "../curriculum.asmx/EditListBox",
dataType: "xml",
data: "setcur_id=" + str + "",
processData: false,
success: function(xml) { ajaxFinish(xml); },
error: function()
});
Ajaxfinish is defined afterwards and it works fine on local Is there some more settings i need to do to make it executable