This function changes the request method of all form components on the page.
function setRequestMethod(method){
var plugins = $.parser.plugins;
for(var i=0; i<plugins.length; i++){
var name = plugins[i];
$('.'+name+'-f').each(function(){
var state = $(this).data(name);
if (state && state.options && state.options.method){
state.options.method = method;
}
});
}
}