use $el and el to reference element inside $.val function