
function set_domain_select_tld(domain,tld) {
    $("#domain").val(domain);
    $("select option").each(function (i) {
        // tld = alle
        if ($(this).val() == tld) {
            $(this).attr("selected", true);
        }
        if ($(this).text() == tld) {
            $(this).attr("selected", true);
        }
    });
}


