Forum Discussion
mankeycloun
9 years agoRegular Visitor
Javascript work in context of HTMLElement
Hello everyone! I'm sure, that something is missing, but I have no idea where is the mistake. I have a simple code (at the end of my post). As a result I always get "Counting rabbits" and "...Fin...
v-chuncz-msft
Community Support
9 years ago
Take a look at Web Console, this.target is a <div> element. You could add JavaScript directly in .ts file.