title: How to call external url in jquery?
body: <p>I am trying to put comments on Facebook wall using jquery.</p>
  
  <p>But my ajax call not alowing external url .</p>
  
  <p>can anyone explain how can we use external url with jquery ?</p>
  
  <p>below is my code :</p>
  
  <pre><code>var fbUrl="https://graph.facebook.com/16453004404_481759124404/comments?access_token=my_token";
  
  $.ajax({        
      url: fbURL ,
      data: "message="+commentdata,
      type: 'POST',
      success: function (resp) {
          alert(resp);
      },
      error: function(e){
          alert('Error: '+e);
      }  
  });
  </code></pre>
  
  <p>its giving xmlhtttprequest error.</p>