Hi
can you please help me to remove this error.? i am getting error
Uncaught TypeError: Object #<Object> has no method 'webservicesCall'
i am using this example:
Auto-suggest Control[
^]
i call like this
new autosuggest("getStationDesc", stationList, null, function(index, control) {
var stationCode = control.keywords[index].substring(0, 3);
console.log(stationCode);
this.webservicesCall(stationCode);
});
here is web service method********
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);
},