Jquery Mobile Select2 with asp.net web service asmx
$("#ddlCust").select2({
minimumInputLength: 2, // minimumInputLength for sending ajax request to server
width: 'resolve', // to adjust proper width of select2 wrapped elements
ajax: {
url: "../DataServices/ws_Master.asmx/GetAutoCompleteCustomerList", // Webservice - WCSelect2 and WebMethod -AccessRemoteData
type: "Post",
dataType: 'json',
params: {
contentType: