<a role="button" id="trigger" class="qui-button" ng-click="ctrl.openDialog(); ctrl.triggerClick();">Confirm Dialog</a>
I want to trigger this by pressing another button, i was using jquery to trigger the click event by:
function myFunction() {
document.getElementById("trigger").click()
}
I trigger the click event, but ng-click event did not work.
How could i fix this problem?