Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

sibal gesekki
3,484 PointsWHAT DOES .on('input') jquery event LISTEN TO?
THE DOCS HAS NO INFORMATION ON THE 'input' EVENT LISTENER. WHAT DOES IT LISTEN TO PLS HELP
3 Answers

Maxwell Carlson
7,265 PointsHere's a stack-overflow that answers your question http://stackoverflow.com/questions/17384218/jquery-input-event

sibal gesekki
3,484 Pointsi read this as well: http://stackoverflow.com/questions/15727324/for-a-javascript-autocomplete-search-box-must-we-use-the-input-event-handler
however that one talks about javascript and not jquery
but essentially the 'input' listener replaces keydown/keyup/keypress/change? its like the ultimate input field listener?

Maxwell Carlson
7,265 PointsThat's the gist I got from reading it, does that not match your experience with it? Also the stackover-flow i linked is talking about the jQuery event input, which is what you're asking about right?

sibal gesekki
3,484 Pointsyea it does. i just wanted to make sure that it can be used in all cases dealing with some sort of change in an input tag whether it be a range/text/etc