[jQuery] Doing Ajax call to a page that requires authentication

[jQuery] Doing Ajax call to a page that requires authentication


Hi everyone,
How can I send login credentials with jQuery Ajax request (get(), post
() or ajax()) when the page I'm requesting is asking for them before
permitting the access.
Note here that I'm not talking here about form-based authentication.
Thanks in advance.