p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/)
-   Ajax (http://p2p.wrox.com/ajax-210/)
-   -   jQuery AJAX question (http://p2p.wrox.com/ajax/99476-jquery-ajax-question.html)

papadan April 21st, 2017 01:13 PM

jQuery AJAX question
 
I have a high-level question on Ajax.

We're using the following code to call a web server:

Code:

          // Use the J-Query routines to call the Web Service.
          $.ajax({
              type: "POST",
              dataType: "xml",
              url: this.Server,
              data: "call=" + this.Call + "&data=" + astrData,
              success: this.OnSuccess,
              error: this.OnError
          });

All of the "this." parameters are appropriate, I checked.

On our company side, this code fires.

But for some reason, on another server, it's not firing.

I was wondering if there is some setting that maybe got missed where the browser or the application is ignoring the j Query request?

NOTE: I ran the webservice call manually in Internet Explorer and it worked immediately.

I would think it's a setting somewhere, because I shouldn't have to alter the code or add anything to the jQuery block.

Any assistance would be greatly appreciated, thanks in advance!


All times are GMT -4. The time now is 07:39 AM.

Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
2013 John Wiley & Sons, Inc.