Why i get Uncaught SyntaxError: Unexpected token }:
btn = '<td class="sentBut"><button type="button" class="btn btn-info" onClick="sentMail("'+tr[0]+'","'+tr[1]+'","'+tr[2]+'")">הזמן/י</button></td>'; What wrong here:
"'+tr[0]+'","'+tr[1]+'","'+tr[2]+'" When remove this,it will work.
Thanks.
}closing bracket. Hard to tell without what line the error is referring to.