When creating a dialog with jquery, how do I hide the dialog div?
Posted
by stormist
on Stack Overflow
See other posts from Stack Overflow
or by stormist
Published on 2010-03-25T04:24:34Z
Indexed on
2010/03/25
4:33 UTC
Read the original article
Hit count: 471
I am creating a dialog like in this page:
http://jqueryui.com/demos/dialog/#modal-confirmation
(click view source)
on the bottom is the div that gets placed in the dialog. The dialog works perfect when called by the javascript but the dialog is apparent at the bottom of the page when it loads. (minus all the styling that gets applied when it is called by the javascript function)
How can I hide the div and still allow the dialog to use it? I have tried setting style="visibility:hidden" but that prevents it from being shown when called by the javascript.
© Stack Overflow or respective owner