Post CallBack Not Firing in 1.4.2

Post CallBack Not Firing in 1.4.2

I hope this is an easy one, but it has me stumped. I've got an Ajax post that has been working fine with version 1.3.2 of jQuery, but when I tried it with version 1.4.2 it doesn't work. Specifically, the callback function is not firing when I define a variable equal to the function and then pass the post that variable.

Thus, in the following, if I call getCustList, the agent GetCustomerListSelection will run successfully on the server, but the ShowResult function will not fire. On the other hand, if I replace "ShowResult" in the post parameters with, say, "alert('You made it!')", then that works fine.

????

 //////////////////////////////////////////////////////////////////////////////////////////////////////
 // Define return function for AJAX
var ShowResult = function(result) {
    alert('running ShowResult');
    if(result.bResultOK) {
        selectCustomer(result);
    } else {
         alert(result.ErrorText);
    }
};
 //////////////////////////////////////////////////////////////////////////////////////////////////////
 function getCustList() {
     try {
            // Define the data to pass to the agent
            var myNames="CustNbr";
            var myValues="*ALL";
            var sPostString = myNames + "~" + myValues;
            // get the base URL for the agent
            var baseURL = getURLNSF();
            $.post( baseURL + "/GetCustomerListSelection?OpenAgent", sPostString , ShowResult, "json" );
     } catch (err1) {
         // do nothing
     }
 }
///////////////////////////////////////////////////////////////////////////////////////////////////////