Jquery – Javascript – How to check if cursor is on the last line?
I am working on my javascript to check the cursor position in the contenteditable to see if the cursor is on the last line then return the boolean as true, otherwise false. When I try this: function checkLine() { var…