title: Ajax call to WebMethod with parameters is not working in ie
body: <p>Here is my JavaScript method:</p>
  
  <pre><code>function CloseDialog() {           
      var ieAppIdstr = $("[id$=hfIEAppId]").val();
      $.ajax({
          type: "POST",
          url: "../Notes/Notes.aspx/UpdateNoteStatus",
          contentType: "application/json",
          dataType: "json",
          data: JSON.stringify({ ieAppId: ieAppIdstr }),
          success: function (data) {
  
          },
          failure: function (msg) {
              $('#output').text(msg);
          }
      });
      popUpClosed();
  }
  </code></pre>
  
  <p>And my web method:</p>
  
  <pre><code>[WebMethod(EnableSession = true)]
  public static void UpdateNoteStatus(string ieAppId)
  {
      UserRole usrRole = HttpContext.Current.Session[Settings.Default.USERROLE] as UserRole;
      string loggedInUserRole = (usrRole != null &amp;&amp; usrRole.IsIMERole) ? "IME" : "PROVIDER";
  }
  </code></pre>
  
  <p>This code is working fine in Chrome, but not working in IE9 and below. I searched Google and Stack Overflow. All the solutions either suggest to add random data to the url or to make cache false. I have tried both solutions. Still the web method is not getting called.</p>
  
  <p>I might be doing something wrong here possibly... I tried without the parameter and the code works fine. Only when I add the parameter the code does not work.</p>
  
  <p>Please suggest some solution. Thank you :)</p>
  
  <p>EDIT: I am not getting any error. And this code is placed in a jQuery pop up window.</p>