allowing textarea to work for input boxes as well