The code as follows: function update(e) { getmousexy(e); document.getElementById('showXY').value = 'x: ' + mousex + ' ' + 'y: ' + mousey } function init() { document.onmousemove = update; update(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)