You need to use additional brackets.

(($input.type).toUpper) 

Reply via email to