Select support.
Change methods and variables' names from 'input' to 'element'.