JSFiddle - React, Tailwind, and code Playground

HTML

<div id="box">
    <select name="g_country[1]" class="glt-input-c"><option>Select a country</option></select> 
    
    <input name="g_url[1]" type="text" class="glt-input-c" value="http://google.com"/>
  <div id="1" class="select-delete"></div>
</div

CSS

#box {
    margin: 20px auto 20px;
    background: #fff;
    width: 460px;
    padding: 20px;
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.6);
    color: #444;
    /*position:relative;*/
}
.select-delete {
    margin-left: 430px;
    margin-top: 32px;
    background: url(http://cdn2.iconfinder.com/data/icons/aspneticons_v1.0_Nov2006/delete_16x16.gif) no-repeat;
    height: 16px;
    width: 16px;
    position:absolute;
    top:40px;
    cursor: pointer;
}

input[type="text"], select {
    font-family: Arial;
    border-radius: 2px;
    width: 438px;
    margin-top: 10px;
    padding: 10px;
    outline: 0;
    border: 1px solid #ccc;
    font-weight: bold;
}

select {
    padding: 9px 10px;
    width: 458px;
}

.glt-input-c {
    display: inline-block;
    width: 210px !important;
    margin-left: 6px;
}

JavaScript

$('.select-delete').click( function() {
    var value = $(this).attr(id);

    $('select[name=g_country['+value+']').attr('disabled','1');
    $('input[name=g_url['+value+']').attr('disabled','1');

});