Since httpOnly cookie are not accesible in a legal way. The answer to this question would be hacking it.
To better understand how httpOnly cookies work with ajax there are a few answers on the community:
Will http_only cookies be sent with AJAX?
How do HttpOnly cookies work with AJAX requests?
There is not any details of cookies on the ajax documentation sadly