Using this code:
var pendingRequest = new Ajax.Request(myUrl, { method: \'post\', postBody: soapMsg, contentTyp
I reccomend this article: http://blog.pothoven.net/2007/12/aborting-ajax-requests-for-prototypejs.html works for me.