If the cursor is positioned somewhere in an input box, is there some way to capture that position using keyup
before Firefox moves the cursor to the end of the box?
I'm making a dropdown of suggestions for each input box and I only want the suggestions to be moved into if the cursor was already at the end of the input box. However, when I try to capture the cursor position to test this, it always returns the end, since the cursor moves to the end before my event handler starts.