+ 2

Need Help in pure Js

need characters to be counted using pure Js...No jquery plz exemple: UserName: Michael 7 10x https://code.sololearn.com/WIo41pPYBCop/?ref=app

22nd Jun 2017, 5:07 PM
Elie Douaihy
Elie Douaihy - avatar
2 Antworten
+ 14
<input id="user" type="text" oninput=document.getElementById("count_character").innerHTML=event.target.value.length>
22nd Jun 2017, 5:12 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 1
thank you very much
22nd Jun 2017, 5:14 PM
Elie Douaihy
Elie Douaihy - avatar