View Single Post
  #1 (permalink)  
Old April 21st, 2017, 01:13 PM
papadan papadan is offline
Authorized User
Points: 138, Level: 2
Points: 138, Level: 2 Points: 138, Level: 2 Points: 138, Level: 2
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2017
Posts: 34
Thanks: 5
Thanked 0 Times in 0 Posts
Default 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!
Reply With Quote