Is there anything special that needs to done in order to call the UI
dialog within a custom plugin?

$('#'+opts.optionsDialog).dialog({
                autoOpen: false,
                width: 600,
                buttons: {
                        "Ok": function() {
                                $(this).dialog("close");
                        },
                        "Cancel": function() {
                                $(this).dialog("close");
                        }
                }
});


I am receiving an error on the code above:

$("#" + opts.optionsDialog).dialog is not a function


I'm using JQuery 1.3.2 and UI 1.7.2. I can't seem to find any examples
of using UI within a plugin. The plugin does not use the widget
factory ($.widget). I'm just trying to use the UI dialog within the
plugin.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to