Looking for some assistance.
I successfully created a modal using Bootstrap 3 that includes a small form allowing administrators/users to change a user's password.
However, when attempting to replicate this with Bootstrap 4, I am facing challenges in executing JavaScript from anchors or buttons within the modal.
Can anyone provide guidance on how to resolve this issue?
Here is an example of code that is not functioning as intended:
$('.classFromElement').on('click', function (e) {
e.preventDefault();
alert('hello world');
});