0
I have a JS function that displays banners on my page if it is the first access of the day. In this popup there is an input for the person to enter their email, but when clicking on the input, the whole pop disappears (actually this is the intention, except for the input, which should receive the user’s email).
I use this code, You can apply something here to block the event click 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(); });
friend, thank you very much, your solution not only solved the issue but also helped me understand new ways of coding with jquery. Thanks so much!
– thierry rene matos