title: Too many characters in character literal with ajax
body: <p>I have this simple code WebForm2.aspx which runs an ajax request to get some data, but when I run this code, I'm getting this error: <code>Too many characters in character literal</code> What is going on?</p>
  
  <p>The output I get is:</p>
  
  <pre><code>cccccccccccccccccccccccccc 
  </code></pre>
  
  <hr>
  
  <pre><code>&lt;%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm2.aspx.cs" Inherits="WebApplication24.WebForm2" %&gt;
  
  
  &lt;!DOCTYPE html&gt;
  
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  
  &lt;head&gt;
      &lt;title&gt;FirstAjax&lt;/title&gt;
      &lt;script src="http://code.jquery.com/jquery-1.9.1.js"&gt;&lt;/script&gt;
      &lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript"&gt;
          $(document).ready(function () {
              var serviceURL = '/AjaxTest/FirstAjax';
  
              $.ajax({
                  type: "POST",
                  url: serviceURL,
                  data: param = "",
                  contentType: "application/json; charset=utf-8",
                  dataType: "json",
                  success: successFunc,
                  error: errorFunc
              });
  
              function successFunc(data, status) {     
                  alert(data);
              }
  
              function errorFunc() {
                  alert('error');
              }
          });
      &lt;/script&gt;
  &lt;/head&gt;
  
  
  &lt;body&gt;
      &lt;form id="form1" runat="server"&gt;
      &lt;div&gt;
  
      &lt;/div&gt;
      &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>