You don't need to use .html(). You should go with .val().
From the doc of .val():
The .val() method is primarily used to get the values of form elements such as input, select and textarea. When called on an empty collection, it returns undefined.
var message = $('#message').val();