Requirement
You want to take away the close button of the modal window.
A good reason could be because you want to force the user to press your own close button and so force something to happen.
Solution
In the modal dialog page, paste this script in the "Execute when Page Loads" section.
var button = parent.$('.ui-dialog-titlebar-close'); //get the buttonbutton.hide(); //hide the button
Result
Gone!
Acknowledgement
Comments
Post a Comment