I make a auto suggest using filter .It show when user type on input field .But when user select any row of table I need to hide that table .In my my case I am not able to hide the table can you please tell me how to hide the table after select of row here is my fiddle
http://jsfiddle.net/66z4dxsy/2/ .In other word.When I run the program my table is hide .when I type on input field it show but when I select it again hide how I will achieve this.Please disable web security of browser .because it show cross domain error .
var app=angular.module("myapp",[]);
function cnt($scope,$http){
$http.get("http://192.168.11.56/sstest")
.success(function (data) {
//alert(data);
$scope.d=data;
}).error(function(data){
alert("error")
});
$scope.getselectedRow=function(obj){
alert(obj.stationName) ;
$scope.searchText.stationCode= obj.stationCode;
}
}
Thanks
Thanks