Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Ryan, call me Cutter. I adjusted my code example, adding back in the lines where you set the cfinvoke returns to the temp object keys. The notation used will preserve the casing of those key names when CF serializes the object into JSON. Unfortunately you can't use that notation in the returnvariable attribute, so you have to jump a few hoops.
I had to go back and check the JQuery docs again, as I was sure I had read it the other day. Sure enough, documentation of the .ajax() method options tells you this about the beforeSend option: "A pre-request callback function that can be used to modify the jqXHR (in jQuery 1.4.x, XMLHTTPRequest) object before it is sent." api.jquery.com/jQuery.ajax