It should be possible to add a xinha textarea in a hidden div, and then change the form element name via javascript, so that on submit it submits the corrent entry.
It might be a better experience in this case, to submit in the background then hide xinha again. Then the user could select another student and enter a comment for that one, etc.