Created
January 29, 2013 03:54
-
-
Save petersendidit/4661669 to your computer and use it in GitHub Desktop.
Tiny jQuery UI tabs extension to switch to using POST.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function( $ ) { | |
var _ajaxSettings = $.ui.tabs.prototype._ajaxSettings; | |
$.ui.tabs.prototype._ajaxSettings = function( anchor, event, eventData ) { | |
return $.extend( { | |
type: "POST", | |
data: { test: "123" } | |
}, _ajaxSettings.apply( this, arguments ) ); | |
}; | |
})( jQuery ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment