Added event onkeydown in input2