change .val() to .text()