onChange works with 2 html elements.