My question is, how do I get the values of pos.offsetTop and pos.offsetLeft to show up in my input box??
Here is the java code:
Code:
function getPosition(element) {
var left = 0;
var top = 0;
if(element.offsetParent) {
while(element) {