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 <[email protected]>
> 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> 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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.