How to set focus at the end of a span element,that content editable set true and it contains other span tags and normal text.
I was used range object option(rangeObj.setStart (textNode, 1);rangeObj.setEnd (textNode, 2);
) but it shows error.
How to set focus at the end of a span element,that content editable set true and it contains other span tags and normal text.
I was used range object option(rangeObj.setStart (textNode, 1);rangeObj.setEnd (textNode, 2);
) but it shows error.