Skip to content Skip to sidebar Skip to footer

Pass And Return A String Into VB.NET Web Method

I am trying to send and return a simple string to a VB.NET web method from Javascript using AJAX. Here is the Javascript/jQuery script I am using: function jQuerySerial() { //I SET

Solution 1:

It looks like the issue here is that you're passing a simple string to the Web Service when it is expecting a JSON object. See this article on common issues with jQuery and ASP.NET web services (specifically item 2):

http://encosia.com/3-mistakes-to-avoid-when-using-jquery-with-aspnet-ajax/


Post a Comment for "Pass And Return A String Into VB.NET Web Method"