Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

move cursor to end of line javascript

<input type="text" id="yourId" onfocus=" let value = this.value; this.value = null; this.value=value" name="nameYouWant" class="yourClass" value="yourValue" placeholder="yourPlaceholder...">
<script>
    document.getElementById("yourId").focus()
</script>
 
PREVIOUS NEXT
Tagged: #move #cursor #line #javascript
ADD COMMENT
Topic
Name
9+5 =