Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 4.5.1 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4.5.1: in C# and VB by Imar Spaanjaars; ISBN: 978-1-118-84677-3
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4.5.1 : in C# and VB 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
 
Old April 21st, 2017, 01:22 PM
Authorized User
 
Join Date: Mar 2017
Posts: 55
Thanks: 12
Thanked 0 Times in 0 Posts
Default ajax jquery general 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!





Similar Threads
Thread Thread Starter Forum Replies Last Post
jQuery AJAX question papadan Ajax 1 July 16th, 2018 03:07 AM
General Question bentzi BOOK: Web Development with jQuery 0 May 22nd, 2015 04:01 AM
JQuery Error for Ajax stanke Ajax 0 October 8th, 2014 12:45 PM
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
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.