jQuery dynamic elements like TR and TD, add to HTML table
You could create a function that will add a row to the table based on the number of elements of data you pass to it (which will become columns):

function newRow($table,cols){
    $row = $('&lt;tr/&gt;');
    for(i=0; i&lt;cols.length; i++){
        $col = $('&lt;td/&gt;').append(cols[i]);
        $row.append($col);
    }
    $table.append($row);
}


You can then call this function for every new row you want to make. $table expects a jQuery object, cols expects an array of elements (DOM or jQuery) to append to the row. I've also tidied up the jQuery that creates your elements. Did you know you can use the second parameter in the jQuery function to set element properties?:

jQuery(document).ready(function() {
  $('button[name="new-title"]').on('click', function(){
    var table = $('table[name="errortitle"]');

    var tdId = '-';
    var tdTitle = $('&lt;input /&gt;', {'class' : 'form-control formInput', 'type': 'text'});
    var tdCheckBox = $('&lt;input /&gt;', {'class' : 'form-control', 'type' : 'checkbox', 'name' : 'check'});
    var tdAction = $('&lt;button /&gt;', {'class' : 'btn btn-danger', html:'Usuń'});

    newRow(table,[tdCheckBox,tdId,tdTitle,tdAction]);
  });
});


JSFiddle

Try it with any amount of column data:

newRow(table,[tdCheckBox,tdId,tdTitle,tdAction,'another col','and another','a final col']);


JSFiddle