Option button binding using javascript

  function CreateContryDropdown(countryList) {
        debugger;
        var result = "
        if (countryList.length > 0) {
            for (var index = 0; index < countryList.length; index++) {
                result += "";
            }
         
        }
        result += "
";        return result;
    }
----------------------
function CreateHazPKGListType(selectedVal) {
    debugger;

    var result = "
    if (selectedVal != "") {
        result += "";
    } else {
        result += "";
    }

    if (hazPKGList.length > 0) {
        for (var index = 0; index < hazPKGList.length; index++) {
            if (selectedVal != "" && selectedVal == hazPKGList[index].Text) {
                result += "";
            }
            else {
                result += "";
            }
        }

    }
    result += "
";    return result;
}

Comments

Popular posts from this blog

Querying a Data Table Using Select Method and Lambda Expressions in Dot Net

StringToTable

GetPhoneSSNFormat