i've got a tab holding ajax content (a table). i want a method on a
dialog box button to reload this tab when the dialog box is being
closed:

$("#add_user").dialog({
                autoOpen: false,
                draggable: false,
                height: 275,
                width: 400,
                resizable: false,
                title: 'Add User',
                modal: true,
                buttons: {
                        "Cancel": function() {

========================================================
                var $tabs = $('#tabs.tabs'), selected = 
$tabs.data('selected.tabs');
                $tabs.tabs('load', selected);
========================================================

                                $(this).dialog("close");
                        },
                        "Submit": function() {
                                $('#user_form').ajaxSubmit(au_options);


                                $(this).dialog("close");
                                $('#output').dialog('open');
                                return false;
                        }
                }
        });

that's what i've got so far - can anybody see what's wrong with the
bit inside the "====" lines?
--~--~---------~--~----~------------~-------~--~----~
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