Jump to content


Popular Content

Showing content with the highest reputation on 02/18/21 in all areas

  1. Hello, I am looking something allowing to check the number of character inside a textarea without jquery. There are some solution, but I like the code below because he is very short. It's for some people want to do create a form as contact, feedback, reviews, comment ... It can be useful If the number of character is not reach, a pop up appear on the screen. <form action="mango.php" method="post" id="form12" onsubmit="var text = document.getElementById('checkField').value; if(text.length < 80) { alert('put more info!'); return false; } return true;">
    1 point
  • Create New...

Important Information

By using this site, you agree to our Terms of Use