Ive created an error checking function for my specific elements that are triggered by the onchang event. I created a hiddin div that becomes visible in the event of an error and displays the error message.
The problem im having is with properly placing where the div should go. I tried to absolute position the div under the text field that it displays the errors for, but depending on whether a window is maximized or not, it doenst line up. if i put the div within the table <TD> it makes makes the cell bigger even if there is nothign displayed in the div yet.
Basically how do i use javascript to find the location on the page where the text field is so that i can offset the div either above it or below it all the time, regardless of window height/width?
Is there an option for that?
BTW, this only has to work in IE, so i dont need to ensure complete browser compatibility just IE 6.
Bookmarks