Category "getelementbyid"

How to return value from addEventListener

I use Javascript to catch the x and y position for when user clicks a link. I can make it work, but I want it to return the two values to function init() when i

getElementByID.onchange not working after i update html with = innerHTML

My starting html looks like this: <label> Names: </label><br> <input type="text" class="form-control name" placeholder="name1" id="name1" n