new autosuggest("getStationDesc", stationList, null, function(index, control) { var stationCode = control.keywords[index].substring(0, 3); console.log(stationCode); this.webservicesCall(stationCode);// i call web service here and here i getting error Uncaught TypeError: Object #<Object> has no method 'webservicesCall' });
webservicesCall : function(stationCode) { alert("hi"); var _this = this; var pl = new SOAPClientParameters(); var parameter1 = stationCode; pl.add("parameter1", parameter1); SOAPClient.invoke(App.settings.server, "getDepartureStationDashboard", pl, true, _this.DepartureStationDashboard_callBack); },
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)