too long

I need my selection box to display the last selected item from db after user submits form in JS. Below is my code. The JS correctly shows the options from db. After submission the selection box reverts back to the first item and not selected.

$(document).ready(function () {
  $.getJSON("getCompany.php", success = function(data)
{
    var options = "Select Company";

    for(var i = 0; i < data.length; i++)
    {
        options += "<option value='" + data[i].Value + "'>" + data[i].Company + "</option>";
    }

    $("#slctCom").append(options);

    $("#slctCom").change();
});

});