Possible Duplicate:
Create tooltip at cursor position in text area with jQuery
So I have a website with a HUGE text area, basically the whole screen. But I want to add word prediction into this. I have all the ways to make this, actually I have, but I need a ToolTip that follows the cursor. Is there a way to do this in JavaScript? Also, by cursor I don't mean mouse. The user should be allowed to move the mouse freely, as long as the text area is in Focus, but the tool tip appears where the cursor is. Is this possible in JavaScript, or am I dreaming? For reference, if anybody uses Adobe Dream Weaver, than how the results appear under the word as you type. Thanks! Also, if there are any jQuery plugins you know of that may do this, please tell! Thanks!
Edit
Also.....
I have made a ToolTip jQuery plugin before, but those are always mouse coordinates like this:
function(e) {
if(...){
//Code Here
}
}
You have always imported 'e' to get the position of the mouse position. Really, all I need is a Cross Browser way to get the position of the cursor in a TextArea. Thanks!