Bs 3 modal form events with jquery

The element on which the check class is on is a span element. The span element does not have a name attribute on it. That is why you are getting undefined.

Do you need to move the check class to the textarea element instead?