You can do something like this.
$(document).ready(function () {
fillDropdown('005');
});
function fillDropdown(valueData)
{
var url = "sample.json";
$.getJSON(url, function (data) {
$.each(data, function (index, value) {
$('#sel').append('<option value="' + value.ID + '">' + value.Name + '</option>');
});
BindValue(valueData);
});
}
function BindValue(valueData){
$('#sel').val(valueData);
}