Pages

Men

rh

3/23/2013

How to provide Validation for Drop down using Javascript

public function validation()
{

var ClaimType=document.getElementById("ddlClaimType").value;
if(ClaimType=="--Select--")
{
alert(" Please Select Claim Type")
       document.getElementById("ddl").focus();
        return false;
}
}

No comments :

Post a Comment