I. The court shall have exclusive original jurisdiction over all proceedings alleging a child is in need of services.
   II. The court may, with the consent of the child, retain jurisdiction over any child who, prior to his eighteenth birthday, was found to be a child in need of services, and who is attending school for the purpose of obtaining a high school diploma or general equivalency diploma. The court shall make orders relative to the support and maintenance of the child during the period after the child's eighteenth birthday as justice may require.
   III. The court shall close the case when the child reaches age 18, or if jurisdiction is retained, when the child ceases to be enrolled as a full-time student during sessions of the school, or graduates from such school, or upon reaching the age of 21, whichever shall first occur.
Source. 1979, 361:2; 1992, 11:2, eff. July 1, 1992.