> $result.css({ > top: (pos.y + $input.offsetHeight) + "px",
Maybe you meant $input[0].offsetHeight instead? > var pos = findPos(document.getElementById($input.attr("id"))); I think this is just var pos = findPos($input[0]); Instead of using findPos, you should be able to use .offset() in jQuery 1.2. http://docs.jquery.com/CSS/offset