Skip to content

jQuery UI Tabs beforeLoad does not send POST data #93

@aaronp55104

Description

@aaronp55104

I'm using jQuery 1.9 and jQuery UI 1.10.0. This does not work as expected:

$('.selector').tabs({
beforeLoad: function( event, ui ) {
ui.ajaxSettings.type = 'POST';
ui.ajaxSettings.data = 'one=one&two=two';
}
});

It seems to be related to ticket #8673, which is marked as wontfix. A workaround is posted in that ticket, but the workaround only works for GET types, not POST. A note should be added in the API documentation so others won't need to waste hours on this like I did.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions