Please visit DEMANDDRAFT.SHOP for quality of products...

Ad

Search This Blog

Saturday, March 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