I have a table defined in html, and I wanted to fill it with a JSON but since I'm new to javascript I can not pass the data correctly here is my table
<table id="ctabco_tb" class="ctabco_tb tb_ctrl" >
<thead>
<tr>
<th> ID </th>
<th title="Ordenar por.."> Nombre </th>
<th title="Ordenar por.."> Banco < /th>
</tr>
</thead>
</table>
here's my json inside the script
var datosBancos = '{"bancos":[' +'{"id":"001","nombre":"Air" ,"banco":" de la Plata"},
' +'{"id":"118","nombre":"Pepe","banco":"Salem" },'
+'{"id":"225","nombre":"Arreg" ,"banco":"Transant"},'+'
{"id":"005","nombre":"DANALD","banco":"orden"},'+
'{"id":"200","nombre":"Pablo","banco":"BNC"}]}';
Some help please