Trying to show a dialog

Trying to show a dialog

Hi,

this is my code

  1. <script type="text/javascript">
        $
    (function() {
            $
    ("#dialog").dialog();
       
    });
       
    </script>




    <div id="dialog" title="Basic dialog">
       
    <p>This is the default dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.</p>
    </div>

and firebug says jquery-ui-1.7.2.custom.min.js is loaded.

Any idea?

Regards

Javi