NorthStarDA
IS-IT--Management
Hi,
I need to know how to retrieve a form elements x and y coordinates in pixels relative to the window itself. I have experimented with using offsetLeft and offsetTop but these are only relative to the parent element. The purpose of this is to move a div next to a specified form field, but i need the proper coordinates of the form field to make that happen.
Any ideas?
=========================================
I have not failed. I've just found 10,000 ways that won't work.
Thomas A. Edison
I need to know how to retrieve a form elements x and y coordinates in pixels relative to the window itself. I have experimented with using offsetLeft and offsetTop but these are only relative to the parent element. The purpose of this is to move a div next to a specified form field, but i need the proper coordinates of the form field to make that happen.
Any ideas?
=========================================
I have not failed. I've just found 10,000 ways that won't work.
Thomas A. Edison