oh wow, amazing it works. I hope you don’t mind for another question,
assume that I’ll put the input text to a modal, then the channel will be the same value as the channel on the js,
where it goes like
$(document).on(‘click’, ‘#matches-table .editStream’, function() {
$tr = $(this).closest(‘tr’).hasClass(‘child’) ?
$(this).closest(‘tr’).prev() : $(this).closest(‘tr’);
var match = matchesTable.row($tr).data();
(’#matchesForm :input[name=channel].val(match.channel);
)};
so instead of the default channel: “monstercat” it will be the same value as the database table column. thanks for the reply sir!