Inside the callback of a listener gor example
Select an item by id and then put a callback for the change event. You can use this, pointing to the item with that id
Whenever you want to reference an object from within a method, or within a function bind to that object
- https://www.w3schools.com/js/js_this.asp - https://medium.com/quick-code/understanding-the-this-keyword-in-javascript-cb76d4c7c5e8 - https://stackoverflow.com/questions/3127429 - https://github.com/getify/You-Dont-Know-JS/blob/master/this%20%26%20object%20prototypes/ch1.md
Обсуждают сегодня