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
test Dialog

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”);
}

2011/8/15 Bruno M. [email protected]

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

On Aug 16, 2011, at 12:29 AM, 7stud – wrote:

Dialog | jQuery UI

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