title: Finding a circular object in the code
body: <p>I am writing a script using jQuery for loading some content into my page.
  At runtime nothing happens. I get this error when inspecting Firebug console:</p>
  
  <pre><code>TypeError: cyclic object value  
  data: JSON.stringify({ columnName: _columnName })
  </code></pre>
  
  <p>Here is the code (placed inside &lt;Head&gt;):</p>
  
  <pre><code>&lt;Script&gt;
  function changeContent(_columnName) {
          $.ajax({
              type: 'POST',
              url: '@Url.Action("GetContent")',
              data: JSON.stringify({ columnName: _columnName }),
              dataType: 'json',
              contentType: "application/json; charset=utf-8"
          }).done(function (resp) {
              CKEDITOR.instances.text.setData(resp.Text);
          }).fail(function () {
              alert("Error");
          });
      }
      $(function () {
          $("#side-content").bind('click', { a: "side" }, changeContent);
      });
  &lt;/Script&gt;
  </code></pre>
  
  <p>I used the tip here: <a href="https://stackoverflow.com/questions/14962018/detecting-and-fixing-circular-references-in-javascript">Detecting and fixing circular references in JavaScript</a> but could not find any circular relations!!!</p>
  
  <p>Any point on saving my life would be so greatly appreciated.<br>
  - Kamran</p>