title: json - Jquery return undefined for multiple values in ajax call
body: <p>I want to return multiple values from Ajax call. So I modified my codes based on this page <a href="https://stackoverflow.com/questions/2571702/jquery-return-multiple-values-in-ajax-call">Jquery return multiple values in ajax call</a></p>
  
  <pre><code>$.ajax({
       type: "POST",
       contentType: "application/json; charset=utf-8",
       url: "AJAX_custom_function.aspx/AJAX_GetFullName",
       data: '{userid: "' + arguments.Value + '"}',
       dataType: "json",
       async: false,
       success: function (data) {
           alert(data);
           alert(data.fullname);    
       },
       error: function (httpRequest, textStatus, errorThrown) {
           alert("status=" + textStatus + ",error=" + errorThrown);
       }    
   });
  </code></pre>
  
  <p>'alert(data)' returns {"fullname": "Joe", "success" : "true"}</p>
  
  <p>But 'alert(data.fullname)' returns undefined. The correct value should be Joe</p>
  
  <p>Did I missing something? Any advice is very much appreciated.</p>
  
  <p>AJAX_GetFullName</p>
  
  <pre><code>&lt;System.Web.Services.WebMethod()&gt; _
  Public Shared Function AJAX_GetFullName(ByVal userid As String) As Object
  
      Dim isValid As Boolean = False  'by default, user always not exist
      Dim strFullName As String = ""
  
      isValid = IsUserIDExist(userid, strFullName)
      If isValid Then
          Return "{'fullname': '" &amp; strFullName &amp; "', 'success': 'true' }"
      Else
          Return "{'fullname': '', 'success': 'false' }"
      End If
  
  End Function
  </code></pre>