I was hoping someone can help me with this issue I’m having with a blaze template. I’m trying to add rows dynamically in a table and inside of the cell i’m attempting to add a dynamic select box. Not sure if I can do this or if I’m doing something wrong. If I don’t add a select populated by a helper it work fine. Has any one tried something like this before?
The code did not paste correctly but i’m including an each statement that populates my option values.
‘click .add_row’: function(e, t) {
e.preventDefault();
$(’#match’+i).html("
$('#tab_logic').append('<tr id="match'+(i+1)+'"></tr>');
i++;
}