jQuery UI modal dialog box and the close button upper right: how to remove it.
- by tahdhaze09
I need to kill the close 'x' button at the top of the dialog box. I have a modal that opens with an OK button that redirects to the site. The site behind the modal is in an iframe. When the user agrees to the statement in the dialog box and clicks the 'OK' button, it redirects to the site that is outside the iframe. If the user clicks on the 'x', it goes to the iframe site, which I do not want to have happen.
I need the modal to work as a one-way to the site it goes to. It basically forces the user to accept the user agreement.
I would post code, but its an intranet site.
Thanks everyone for your help!