0
尊敬的专家需要UR帮助变化显示为<table> AJAX codeignitier
这是我的ajax
$.ajax({url : "<?php echo site_url('infokamar/ajax_pasien')?>/" + Kode,
type: "GET",
dataType: "JSON",
success: function(data)
{$('[name="norm"]').val(data.norm);
$('[name="pasien"]').val(data.pasien);
$('[name="alamat"]').val(data.alamat);
$('[name="tanggal"]').val(data.tanggal);
$('[name="jumlah"]').val(data.jumlah);
$('#modal_form1').modal('show'); // show bootstrap modal when complete loaded
$('.modal-title').text('LIHAT KAMAR'); // Set title to Bootstrap modal title
,但我想这个表
<table id="table" class="table table-striped table-bordered" cellspacing="0" width="6S0%"><thead><tr><th style="width:1px;" bgcolor="#00a65a"><center><FONT COLOR="#FFFFFF"> NO</FONT></th><th style="width:3px;" bgcolor="#00a65a"><center><FONT COLOR="#FFFFFF"> KODE</FONT></th><th style="width:3px;" bgcolor="#00a65a"><center><FONT COLOR="#FFFFFF"> RUANGAN</FONT></th><th style="width:3px;" bgcolor="#00a65a"><center><FONT COLOR="#FFFFFF"> KELAS</FONT></th>
<th style="width:3px;" bgcolor="#00a65a"><center><FONT COLOR="#FFFFFF"> KAMAR</FONT></th><th style="width:100px;" bgcolor="#00a65a"><center><FONT COLOR="#FFFFFF"> JUMLAH TT</FONT></th><th style="width:100px;" bgcolor="#00a65a"><center><FONT COLOR="#FFFFFF"> SISA TT</FONT></th><th style="width:5px;" bgcolor="#00a65a"><center><FONT COLOR="#FFFFFF"> KONTROL</FONT></center> </th></tr>/thead><tbody></tbody><tfoot></tfoot></table>
需要UR帮助下显示
使用这个解决方案里面的IM其中标签要显示什么? –