title: red underlines in jquery in visualstudio
body: <pre><code>$(document).ready(function() {
      $.ajax({
          type: 'post',
          async: false,
          url: 'WebService.asmx/GetCustomerInformation',
          data: '{}',
          contentType: 'application/json;charset=ytf-8',
          dataType: 'json',
          success: function(msg) {
              $.each(msg.d, function(i, data) {
  
                  var name = data.Name;
                  var CustomerId = data.CustomerId;
              });
          },
          Error: function() {
              alert('error');
          }
      });
  </code></pre>
  
  <p>I get a Namespace doesn't directly contain members such as fields or methods.</p>
  
  <pre><code>unexpected character $.
  too many character literals.
  </code></pre>
  
  <p>But I have included the library.Its not an error but the characters are underlined with red line how can it be fixed.</p>