javascript - Setting marker position inside textarea -


I see a way to set the text marker at the beginning of the texterrari when a value is between a set or a text While searching the textarea tag, I did not find anything on it. So, does anyone know about doing this?

  var el = document.getElementById ("myTextArea"); If (type .Leset SelectionRange! = "Undefined") {L.S.S.SS ChainRange (0, 0); } And if (type.l.createTextRange! = "Undefined") {var category = el.createTextRange (); Range.collapse (true); Range.select (); }  

Comments