I have a JS function that displays banners on my page if it is the first access of the day. In that popup there is an input for the person to enter with the email of it, but when clicking on the input, all the pop disappears (in fact this is the intention, less for the input, that should receive the user's email).
I use this code, can you apply something here to block the click event on the input?
jQuery(document).on('click','#black-courtain', function(e) {
e.preventDefault();
jQuery('input[name=EMAIL]').click(false);
console.log(jQuery('input[name=EMAIL]').click(false));
jQuery(this).hide(); });