How can i position a dropdown at cursor position inside a textarea?
问题 How can i position my dropdown at cursor position inside a textarea? I have found this question was already asked here many times but i cant able figure out the correct solution .. this is the JSBIN please help me with your suggestions Thanks in advance 回答1: I know it isn't an exact answer on the question (this solution doesn't use a textarea, but a contentEditable div), but I don't think there is any way of getting x-y-coordinates using either the event, an attribute or function on the