动态选择器
'<td id=\'pm25' + floor.id + '\'>' + floor.pm25 + '</td>'
$(document).on('click', '.cBtn', function() { floor = $(this).attr('fid'); var kk = $('#pm25' + floor).text(); $('#myCheck input').val(kk); });
'<td id=\'pm25' + floor.id + '\'>' + floor.pm25 + '</td>'
$(document).on('click', '.cBtn', function() { floor = $(this).attr('fid'); var kk = $('#pm25' + floor).text(); $('#myCheck input').val(kk); });