Many airlines now offer Wi-Fi on board the plane during portions of the flight (the part that doesn't involve takeoff or landing). There will usually be a fee, though some airlines are experimenting with free service or at least certain services for free (like Facebook access only) in an effort to keep passengers docile.