Single quote ( ' ) is not supporting in angularjs ng-click() if multiple parameter is passed
- 阅读更多 关于 Single quote ( ' ) is not supporting in angularjs ng-click() if multiple parameter is passed
问题 How to escape single quote( ' ) in angularjs ng-click ng-click="editQuesAnsDetails('${fn:escapeXml(quesAnsList.querysearchBO.query)}','${fn:escapeXml(anslist.query_answer)}', '${anslist.editUrl}','${anslist.filepath}');" this my angular controller: App.controller('AskedQuesAnsController',['$scope','$window','AskedQuesAnsServices',function($scope,$window,AskedQuesAnsServices) { $scope.quesAnsUpdateCommand={"query":"","answer":"","editUrl":"","deleteUrl":""}; $scope.editQuesAnsDetails =