title: When i use the window.close ajax call not working?
body: <p>I have the small window in my page when click the button the window value send my controller and close the window. But when i use the window.close the controller not hit. But without window.close its hits properly. But i need that line for close the window.How i manage that? </p>
  
  <p>My sample Code is give below: </p>
  
  <pre><code>function click() {debugger;
          $.ajax({
              type: 'POST',
              url: 'my url'
              data: { status: $('#Field_Error')[0].checked },
              dataType: 'json',
              success: function (data) {
                  alert(data.message);
              }
          });
          window.close();
  
      }
  </code></pre>
  
  <p>controller:</p>
  
  <pre><code>  public ActionResult actionName(bool status)
     {// not hit here
  
      }
  </code></pre>