杂记
//动态插入html
<table id="showDivTab" style="width: 100%">
</table>
var context = "<tr id='showTableTitle'><th width='20%'>图片</th><th width='25%'>商品</th><th width='20%'>价格</th><th width='15%'>数量</th><th width='20%'>小计</th></tr>" $("#showDivTab").html(context);
//动态改变div 使其隐藏
<div id="loading" style="padding-top: 30px; text-align: center;">
<img alt="" src="${pageContext.request.contextPath }/images/loading.gif">
</div>
$("#loading").css("display","none");