In the case you are asking about, this
represents the HTML DOM element.
So it would be the <a>
element that was clicked on.
More Related Contents:
- How to update nested state properties in React
- Difference between knockout View Models declared as object literals vs functions
- How do I replace text inside a div element?
- getElementsByName in IE7
- Javascript closure not working
- Why is ‘event’ variable available even when not passed as a parameter?
- get the data of uploaded file in javascript
- Iterate over a Javascript associative array in sorted order
- Strange Unexpected token ILLEGAL in JavaScript [closed]
- Uncaught TypeError: undefined is not a function on loading jquery-min.js
- What happens to setTimeout when the computer goes to sleep?
- Bug with Chrome’s localStorage implementation?
- How to handle passing/returning array pointers to emscripten compiled code?
- What is the difference between “event loop queue” and “job queue”?
- Event propagation in Javascript
- Calling reduce to sum array of objects returns NaN
- WebGL / Three.js – Particles colored by texture flicker erratically while moving camera
- Getting Spotify API access token from frontend JavaScript code
- Find the exact height and width of the viewport in a cross-browser way
- Scripting data in SVG (reading and modifying)
- lifecycle event state and prevState in react.js
- Set Jquery ui active tab on page load/reload
- How to trigger the onclick event of a marker on a Google Maps V3?
- Firefox Web Console Disabled?
- how to render child components in react.js recursively
- Low power mode detection in JavaScript for iOS11?
- How to implement a Typescript interface to an es5-style “class”?
- Explain bindbind() function
- What is the difference between JavaScript’s getElementById() and getElementsByName() functions?
- read csv/tsv with no header line in D3