I am working on a project and want to have an alert box pop up when the user clicks on the input section. However, I am having issues. Any suggestions?
My html/AngularJS code:
<li ng-click="showCustomerList()" class="clickable">
<label>Customer Info</label>
<input readonly = "readonly" ng-class = "{editing: ShowCustomerList.isOpen()}" placeholder = "text" value = "{{getCustomerName}}"/>
</li>
My JavaScript/AngularJS code:
$scope.showCustomerList = function () {
alert("This is the popup!");
};