Monday, October 8, 2007

How to get the textbox value at the client side

function CheckFunction()
{
if (document.getElementById('<%=textbox2.ClientID%>').value == "")
{
alert("Please enter a value");
return;
}
}