Hi, on page 292, Larry says that the target property 'points to the HTML element that triggered the event'. Does this mean that, in the following example, var target points to the same location as var username:
function checkUsername(e) {
var target = e.target;
}
var username = document.getElementById('name');
username.addEventListener('blur', checkUsername, false);
If so, is this a general rule i.e. does the target property 'point' to the same location as document methods such as getElementById()?
Thanks.