Hi Umapathi K,
just copy and paste the below code and it will work.
<script type="text/javascript">
function empty()
{
var Email = document.getElementById('<%=txtemailid.ClientID %>').value;
if(Email=="")
{
alert("Your email address seems incorrect. Please try again.");
return false;
}
}
</script>