Can Ajax be used with https?

Yes AJAX can be used in https. Twitter and Facebook are both https sites and show asynchronous data via ajax