School districts take unplanned plunge into online learning