Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Ajax
| Search | Today's Posts | Mark Forums Read
Ajax the combination of XHTML, CSS, DOM, XML, XSLT, XMLHttpRequest, and JavaScript
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Ajax section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old April 21st, 2017, 01:13 PM
Authorized User
Points: 222, Level: 4
Points: 222, Level: 4 Points: 222, Level: 4 Points: 222, Level: 4
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2017
Posts: 55
Thanks: 12
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!
  #2 (permalink)  
Old July 16th, 2018, 03:07 AM
Registered User
Points: 3, Level: 1
Points: 3, Level: 1 Points: 3, Level: 1 Points: 3, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2018
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default thank

Many Thank you for this post :D


Similar Threads
Thread Thread Starter Forum Replies Last Post
JQuery Error for Ajax stanke Ajax 0 October 8th, 2014 12:45 PM
Jquery question vbboyd BOOK: Beginning ASP.NET 4 : in C# and VB 1 February 3rd, 2012 04:37 AM
AJAX or JQUERY abhijit89 BOOK: ASP.NET AJAX Programmer's Reference : with ASP.NET 2.0 or ASP.NET 3.5 ISBN: 978-0-470-10998-4 0 April 6th, 2011 03:39 PM
jQuery question member4953 BOOK: Beginning ASP.NET 4 : in C# and VB 4 July 7th, 2010 11:18 AM
call WCF Service using JQuery but without using AJAX informit BOOK: Professional WCF Programming: .NET Dev with Windows Communication Found ISBN: 9780470089842 0 February 23rd, 2009 01:33 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.