Is there a way to "disable" the focus of an element (textarea, input, contentEditable iframe)? I know that the blur function removes focus, but the user can just go back and focus it again.
I ask about this because there will be a point on my site where something like a tooltip will be requested (inside the page) . At this point, I want to lock the focus of all the text fields and inputs on the page and enable again when the user clicks "Cancel" or "Good."
Thank you very much!
source share