Ivan Ivković Posted January 22, 2012 Share Posted January 22, 2012 It seems to me that they're totally the same. Are they? Link to comment https://forums.phpfreaks.com/topic/255532-what-is-the-difference-between-onkeyup-and-oninput-javascript-events/ Share on other sites More sharing options...
joe92 Posted January 22, 2012 Share Posted January 22, 2012 Mozilla says this about oninput This event is sent when a user enters text in a textbox . This event is only called when the text displayed would change, thus it is not called when the user presses non-displayable keys. Whereas the onkeyup is described as The keyup event is raised when the user releases a key that's been pressed. So there is your difference. Link to comment https://forums.phpfreaks.com/topic/255532-what-is-the-difference-between-onkeyup-and-oninput-javascript-events/#findComment-1310079 Share on other sites More sharing options...
Ivan Ivković Posted January 22, 2012 Author Share Posted January 22, 2012 Thank you! Link to comment https://forums.phpfreaks.com/topic/255532-what-is-the-difference-between-onkeyup-and-oninput-javascript-events/#findComment-1310151 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.