Having trouble to combine both javascript events together Both class actions occurred in different clicks.
<script>
//first event
$("#add-product-details-video").click(function () {
hideAlertMsg();
});
//second event
$(".add-more-image").on('click', function () {
hideAlertMsg();
});
</script>