if((document.getElementById("TextBox1").value == "") || (document.getElementById("TextBox1").value == "__/__/____")) { alert ( "Invalid Date" ); document.getElementById("TextBox1").value="__/__/____"; document.form1.TextBox1.focus(); return false; }
document.getElementById("<%=txtName.ClientID%>").focus();
var id = document.getElementById('TextBox1'); if((id.value == "") || (id.value == "__/__/____")) { alert ( "Invalid Date" ); id.value="__/__/____"; id.focus(); return false; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)