Javascript – How to use scrollIntoView from text node
I can't figure out how to get the element of a text node but I can get the parent element. I've written a javascript routine to make a selection using a range. So I have a start node and end…
I can't figure out how to get the element of a text node but I can get the parent element. I've written a javascript routine to make a selection using a range. So I have a start node and end…