How to you abort/cancel a request using the prototype js library?

后端 未结 2 480
逝去的感伤
逝去的感伤 2020-12-15 22:11

Using this code:

var pendingRequest =  new Ajax.Request(myUrl, {
               method: \'post\',
               postBody: soapMsg,
               contentTyp         


        
2条回答
  •  醉梦人生
    2020-12-15 22:39

    I reccomend this article: http://blog.pothoven.net/2007/12/aborting-ajax-requests-for-prototypejs.html works for me.

提交回复
热议问题