I had no problem with the code you've shown below. See http://paste.pocoo.org/show/102699/
What error do you get? - Richard On Tue, Feb 3, 2009 at 2:15 PM, marcucio <[email protected]> wrote: > > I am getting an error when I try to open this dialog: > > $("#add_todo_form_div").dialog({ > modal: true, > autoOpen: true, > width: 740, > height: 350, > overlay: > { > opacity: 0.5, > background: "black" > }, > buttons: > { > "Save": function() { > add_new_todo(); > }, > "Cancel": function() { > $(this).dialog("destroy"); > } > } > }); > > If I comment out the "buttons:" section everything works fine except > for the height issue that I talked about in my previous post. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" 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/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---
