Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
152 views
in Q2A Core by
when i press or delete any character keyup event working properly but when i enter number and delete it's not working .

 

<html>

<head>

     <title>Hello World</title>

</head>

<body>

   <input type=text id="text1" onkeyup="bindValue();" />

     <label id="txtval"></label>   

<script>        

function bindValue()

{         

   document.getElementById("txtval").innerHTML = "onkeyup==" + document.getElementById('text1').value;        

}

     </script>

</body>

</html>

Please log in or register to answer this question.

...