Jquery Pop Up Model -Do not allow to Cose on Click of background area or Esc Key

Hi!
I have a pop up model. My requirement is that the pop up model should not be closed even if the user hits Esc key or click outside the pop up model area.

I am doing model.show() in jQuery.
What else can I do to achieve this.

Those are the usual ways of closing modals.
It is the behavior visitors will expect.

How are you wanting them to close it?

Having it behave differently sounds like a poor UX decision to me.
But I am interested in hearing more.

2 Likes

Plus, it’d be nice to see some code.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.