Try
     autoOpen: true

Or create a link that starts the dialog
For example:

$("a.new_dialog).click(){
       $("#test").dialog("open");
}


2011/8/15 Bruno Meira <goesme...@gmail.com>

> 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
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To unsubscribe from this group, send email to
> rubyonrails-talk+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to