Changing 'input' event to 'change' event for IE10 compatibility.