Tabs beforeLoad does not send POST data
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. This functionality is important to me.
I would either like jQuery UI Tabs to support sending POST data again using ui.ajaxSettings.data, or a better workaround developed and published. Either way, a note should be added in the API documentation so others won't need to waste hours on this like I did.