I figured it out, One of my ajax scripts was creating javascript code before the: <!doctype html> <html lang="en"> <head>
I just moved that code into the <head> instead and it worked. It is very strange because this is the only time i saw an error, popping up the jquery dialog. Thanks for the help On Feb 3, 9:35 pm, "Richard D. Worth" <[email protected]> wrote: > 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 -~----------~----~----~----~------~----~------~--~---
