Changed line 14 - .text() to .val()