为什么总是输出为null啊!
<p ........ onclick="add('<?php echo $item['id']?>',<?php echo $item['number']?>)"> 这里要加引号 var k = document.getElementById(id);这里不要加引号