English 中文(简体)
暂时停用的麻风气,在进行后,再用新的电灯,继续停电。
原标题:pause current ajax call , carry out a new one , after carrying out , continue the default ajax call

i 不能确定这一点。

I have two ajax calls executed during a button click event. first ajax call is to add data to database using jquery ajax post . the second one is to add another set of data to database too via jquery ajax post too

先执行第二次。 i 设定了第二个“(窗口)”的“时段,以便在两种执行之间创造时间间隔,以检验,如果可以中止第一场“jax”呼吁。

你们会问我,为什么我不想把这两项呼吁结合起来。 i 有理由这样做,而且我想知道,确实有可能暂停使用麻风病。 我对净额进行了搜索,发现的都是阿加斯托(jQuery),但并没有真正暂停,而是停止了阿加克斯呼吁。

是否有任何想法这样做? 感谢。

问题回答

为什么你们想要放弃吗? 你们可以 t,但为什么你们想要? 只有这样,他们才能运行,或者在第二次电话之前不会引发第一次电话。

无,你不能放弃Ajax电话——他们只是吉大港警察局正常要求/反应周期的事例,因此行事。 如果第二次电话的服务器部分业务取决于第一个电话的结果,那么为什么不把电话连接起来,在第一个成功背书的手里打第二个电话?

You cannot do that.

您应真心问,您的数据交换协议的设计是否正确。

申请(无论通信议定书是什么,美国宇宙航空研究开发机构还是任何其他机构)不应奏效,因为你不知道是否有其他要求和要求。

因此,要问:我究竟需要什么? 这样做的其他方式是什么?





相关问题
selected text in iframe

How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.

How to fire event handlers on the link using javascript

I would like to click a link in my page using javascript. I would like to Fire event handlers on the link without navigating. How can this be done? This has to work both in firefox and Internet ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Clipboard access using Javascript - sans Flash?

Is there a reliable way to access the client machine s clipboard using Javascript? I continue to run into permissions issues when attempting to do this. How does Google Docs do this? Do they use ...

javascript debugging question

I have a large javascript which I didn t write but I need to use it and I m slowely going trough it trying to figure out what does it do and how, I m using alert to print out what it does but now I ...

Parsing date like twitter

I ve made a little forum and I want parse the date on newest posts like twitter, you know "posted 40 minutes ago ","posted 1 hour ago"... What s the best way ? Thanx.