Legislation that would allow students to enroll in neighboring school districts won approval from the House on Wednesday.