Click here to Skip to main content
15,893,814 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,
I have been searching in the google world but the solution not yet find. I am writing a method to delete a record in the ng-grid. This works great in IE and Chrome, but not working in firefox. It looks an exception of type aborting the operation but no exception in the console.

The following is my code block.
PHP
$scope.delete = function (row) {
              $scope.id = $scope.myData[row.rowIndex].EmpID;
              $http({
                  method: 'DELETE',
                  url: '/api/Values/Delete/',
                  ContentType: 'application/json',
                  params: {id1:$scope.id} // pass in data as strings
              }).success(function (data) {              
              }).error(function (data) {
              });
          }

Any one could you please guide me to solve the problem.
Posted
Updated 21-Sep-14 22:38pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900