brendoop
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by brendoop
-
-
//Hi , As I because my function is not working. I want you to press Enter, Caret back pro start<p>What is your name?</p><textarea id=myText onkeypress="Enter(event)"></textarea><script>function Enter(event) {var x = document.getElementById("myText").value;b = document.getElementById("myText");if ((x=="Brendo") && (event.keyCode==13)) {document.getElementById("myText").value="";b.focus();b.setSelectionRange (0,0);}
Caret position
in JavaScript
Posted
The understood , thanks