title: access is denied using jquery-1.4.1.js
body: <p>i am using VS2010 with jquery-1.4.1.js version and i try to access the WCF service and i get a strange error <strong>"Access is denied"</strong> in <strong>jquery-1.4.1.js</strong> at page number <strong>4982</strong></p>
  
  <p>jquery-1.4.1.js:</p>
  
  <pre><code>    // Open the socket
      // Passing null username, generates a login popup on Opera (#2865)
      if ( s.username ) {
          xhr.open(type, s.url, s.async, s.username, s.password);
      } else {
          xhr.open(type, s.url, s.async);
      }
  </code></pre>
  
  <p><strong>here is how i am calling</strong></p>
  
  <pre><code> function PostData() {           
  
          var webMethod = 'http://myservices/SomeService.svc/GetCount'
          var parameters = "{'Id': '" + "1" + "'}"
          $.ajax({
              type: "POST",
              url: webMethod,
              data: parameters,
              contentType: "application/json; charset=utf-8",
              dataType: "json",
              success: function (data) {
                  //$(divToBeWorkedOn).html(msg.d);
                  debugger
              },
              error: function (e) {
                  //$(divToBeWorkedOn).html("Unavailable");
              }
          });
      } 
  </code></pre>
  
  <p>what might be the problem? i test my wcf service and it works fine, i try connecting through asp.net and add web reference just to see if there is any problem.</p>