JQuery dialog not works

Hi guys,
I installed JQuery on my rails application, I tested some functions
like $("#some_elem").attr("id"), and it works well.
So, I think that my file was corrected installed.
My problem is this:
- Everytime that I use JQuery command to create I dialog, this command
doesn't works.
One example is:
JS
$("#test").dialog({ autoOpen: false,modal:true });
HTML
<div id="test">
   test Dialog
</div>

somebody knows how to fix this problem?

Thx
;D

Try

autoOpen: true

Or create a link that starts the dialog
For example:

$("a.new_dialog).click(){

$("#test").dialog(“open”);

}

http://jqueryui.com/demos/dialog/#option-autoOpen

http://jqueryui.com/demos/dialog/#option-autoOpen

Which reminds me -- have you included jQueryUI in your project through the javascript_include_tag in your views? This is a UI control, which just won't be there if all you have is the base jQuery.

Walter

Wooow, I completely forgot to include jQueryUI.
Now it works!
Thx a lot :smiley: