title: How to deliver username and password with jquery
body: <p>I tried for several hours, to deliver my username and my password with query.
  I found different answers like</p>
  
  <pre><code>$.ajax({        
  username: "user",
  password: "password",
  url: "http://de.wikipedia.org/wiki/S",
  type: "GET",
  dataType:'json',
  success: function() {alert('blub');},
  error: function(){alert('nein!');}, });
  </code></pre>
  
  <p>and</p>
  
  <pre><code>$.ajax({        
  url: "http://de.wikipedia.org/wiki/S",
  success: function() {alert('blub');},
  error: function(){alert('nein!');},
  beforeSend: function(xhr){
  xhr.setRequestHeader("Authorization", "Basic c2Nod1bm5zmRlbGbg0K")},    
  });
  </code></pre>
  
  <p>and</p>
  
  <pre><code>$('#test1').load('http://c2odWhbm5zmlbGpgOK@de.wikipedia.org/wiki/S');
  </code></pre>
  
  <p>and several more, but neither of them is working.
  Can anybody help?
  Please!!! I´m despaired!!!</p>
  
  <p>Maybe I should be more specific.
  If I try to open the document I get the Error ""NetworkError: 407 Proxy Authentication Required - <a href="http://de.wikipedia.org/wiki/S" rel="nofollow">http://de.wikipedia.org/wiki/S</a>""
  So I think the username and password isn´t delivered right.</p>