ASPForums.Net RSS Feed additions to the content that appears on ASPForums.Net(c) 2019 All rights reserved.jQuery AJAX Error: Failed to load resource: the server responded with a status of 500 (Internal Server Error)<p>Hi&nbsp;<a class="username" rel="AbdulHaque">AbdulHaque,</a></p> <p>Please rectify below points.</p> <p>1. Your WebMethod name is SendOTP and you are calling as send in jquery.</p> <p>2.&nbsp;Add below attribute to you WebMethod.</p> <pre class="brush: csharp">[System.Web.Services.WebMethod(EnableSession = true)] [System.Web.Script.Services.ScriptMethod(UseHttpGet = true, ResponseFormat = System.Web.Script.Services.ResponseFormat.Json)]</pre> <p>3. If you want to show message from the response then instead of void type return string type.</p>, 22 Mar 2019 07:21:46 GMT