I am trying to bring up the HTTP authentication box for handling my login. However, I want to communicate to my database through Ajax. But I dont know how to connect the HTTP authentication box with AJAX.
Any Idea, how to do this? Please also include example
(To my surprise) jQuery has built-in support for supplying HTTP auth credentials:
Or you can override the XMLHttpRequest object like in this example: http://dothow.blogspot.com/2009/05/http-basic-authentication-with-jquery.html