Ext.application({ launch: function () { var divToBeWorkedOn = '#AjaxPlaceHolder'; var webMethod = 'http://184.106.159.143:8080/FirstGroupRailApps/services/RailAppsCAWS/getDestinationStationDashboard' var parameters = "{'crsCode':'" + AAP + "'}" $.ajax({ type: "GET", url: webMethod, data: parameters, contentType: "application/xml; charset=utf-8", dataType: "xml", success: function(msg) { alert(msg) $(divToBeWorkedOn).html(msg.d); }, error: function(e){ $(divToBeWorkedOn).html("Unavailable"); } }); }
error :Uncaught ReferenceError: AAP is not defined
AAP
var parameters = "{'crsCode':'AAP'}";
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)