单击按钮时多个ajax请求 [英] multiple ajax requests on single button click

查看:75
本文介绍了单击按钮时多个ajax请求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi Team,



我有一个调用web方法的jQuery方法。 jQuery方法只执行一次,但是web方法对chrome和IE执行多次。但对于Firefox只有一次。



我们使用Jquery Ajax [$ .Ajax()]来调用WebMethod。



我们已经跟踪过这使用debug和Fiddler。让我们知道如何解决跨浏览器的问题。



先谢谢。

Hi Team,

I have a jQuery method that calls a web method. The jQuery method only executes one time but the web method executes multiple times for chrome and IE. But only once for Firefox.

We used Jquery Ajax[$.Ajax()] to call WebMethod.

We have traced this using debug and Fiddler.Let us know how to solve the issue for cross browser.

Thanks in Advance.

推荐答案

.Ajax()]来调用WebMethod。



我们使用debug和Fiddler来跟踪这个。让我们知道如何解决跨浏览器的问题。



先谢谢。
.Ajax()] to call WebMethod.

We have traced this using debug and Fiddler.Let us know how to solve the issue for cross browser.

Thanks in Advance.


Hi Nilendra,



请从我的申请表中找到以下代码。





Hi Nilendra,

Please find the below piece of code from my application.


Ajax Call:
  else if (


(#iFrameHtmlImage)[0]!= null){
("#iFrameHtmlImage")[0] != null) {


这篇关于单击按钮时多个ajax请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆