// http://stackoverflow.com/questions/4583703/jquery-post-request-not-ajax (function ( $ ) { $.extend( { form: function ( url, data, method ) { if ( method == null ) method = 'POST'; if ( data == null ) data = {}; var form = $( '