jquery dialog problem

Posted by user403295 on Stack Overflow See other posts from Stack Overflow or by user403295
Published on 2010-12-30T01:48:25Z Indexed on 2010/12/30 1:54 UTC
Read the original article Hit count: 271

Filed under:
|

Hi guys, i know this is a very easy thing to implement but when I add a line to add a dialog my actual page disappears. Can anyone tell me what I am doing wrong?

$(function(){
//when I open this line, my page disapperars?
$("#dialog").dialog({ autoOpen: false, modal: true });

}); /*FUNCTION CLOSED/

    <div id="dialog" title="Delete Record" style="display: none">
          <p><span style="float:left; margin:0 7px 20px 0;"></span>Are You Sure?</p>
    </div>

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about jquery-ui-dialog