Correct Way to Get Base URL?

Correct Way to Get Base URL?


What's the best way to obtain the base_url of a site via jQuery?