Tag Archives: HTML-DOM

HTML | DOM setRangeText() method

The setRangeText() method replaces a range of text in input or a textarea with another string. Syntax: element.setRangeText(replacement); OR element.setRangeText(replacement, start, end[, Mode]); Parameters: replacement:… Read More »