this can be done using JavaScript as follows: function TextboxValue() { var txt = document.getElementById(''); if (txt.value > 100) { //Write the code here to perform some operation. } }