how to pass http authentication in jquery get() method

how to pass http authentication in jquery get() method

hi all,
I am sending a url request to the network using jquery.get().  The problem I am facing is that the server is having an http authentication, so when i pass the request url directly on the browser, it will show the authentication window and i can pass the username and password

but what to do when i am passing the same request using get() method.

this is what i am using currently

                $.get( Url , function(data) {
 alert('result got was '+data);
 });


anybody knows a work around for this problem, which can be used for every browser. the current error code is 401..