It is very elegant way to handle problem described in question. The modal dialog box can be used to restrict the user to perform particular actions before they return to their normal use of the application. The above simple example works great if there is a textarea or input element visible on the screen.. I'm having an issue with the .close div located in a jQuery populated popup. This demo illustrates the Popup component. Through this example, we are going to close or hide div using Jquery when a click action occurs outside of that element on which the DIV was produced by clicking. Properties are accessible by interacting with the object in Vanilla JS or using jQuerys prop() method. A property can be of various data types. Wrap a