My hurdle was, as soon as you say something like...
myAjax = $.post("middleware.php",{data:someData});
...then JavaScript runs the jQuery object's .post() method with the given parameters, and assigns the result to the variable myAjax.
This article inspired some work-arounds, such as binding a custom event to the document object (fancy, code-intensive), or binding an anonymous function to the .change event of a DOM element and triggering it artificially with myObject.change() (both sloppy and kludgey).
$(document).bind("saveRecord", function(event) {
$.post("middleware.php",{data:someData});
});
But actually, JavaScript uses "function" as a declaration signifier as well, so none of the chicanery of minting custom events, or twiddling the .change method of custom properties, is even necessary to define a function without invoking it:
function saveRecord(){
$.post("middleware.php",{data:someData});
});
... or even ...
var saveRecord = (function(){
$.post("middleware.php",{data:someData});
});