<br/><br/><button ng-click="clearFields()" class="btn btn-danger action-btn pull-left">Click to reset fields</button> <textarea id='results_q' rows="10" cols="100">{{c.duplrecordsList}}</textarea> ---------- function($scope) { /* widget controller */ var c = this; $scope.clearFields = function() { //console.log("message", 'run the op'); document.getElementById("tbl_name").value=''; document.getElementById("dupl_field").value=''; ...
All things ServiceNow... take a look at my channel: https://www.youtube.com/@cloudminus89