You are on page 1of 1

function GetTextBoxValue(id) { var n=document.getElementById(id).

value if(n<1 n>100) { alert("You entered a # less than 1 or greater than 100") }

} <input type="button" value="Submit" onclick="GetTextBoxValue('<%= txt1.C lientID %>')" />

You might also like