Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function updateList(data) {
- var list = '<div class="table-responsive">'
- + '<table class="table table-condensed table-bordered table-striped table-hover">'
- + '<thead>'
- + '<tr>'
- + '<th class="rv-cod-chamada>Cod Chamada</th>'
- + '<th>Nome Pessoa</th>'
- + '</tr>'
- + '</thead >'
- + '<tbody>';
- $.each(data, function (i, value) {
- list += '<tr>'
- + '<td>' + value.Pessoa.CodChamada + '</td>'
- + '<td>' + value.Pessoa.NomePessoa + '</td>'
- + '</tr>';
- });
- list += '</div >';
- return list;
- }
Add Comment
Please, Sign In to add comment