<asp:TextBox ID="txtMemoName" runat="server" Width="200px" onblur="alertevent();" ></asp:TextBox>
function alertevent() { var value = $("#<%=txtMemoName.ClientID %>").val(); if (value == "") { $("#<%=txtMemoName.ClientID %>").focus(); $("#<%=txtMemoName.ClientID %>").css('border', '1px solid red'); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)