杂记

//动态插入html

<table id="showDivTab" style="width: 100%">css

 
 


</table>html


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>spa

$("#loading").css("display","none");
相关文章
相关标签/搜索
本站公众号
   欢迎关注本站公众号,获取更多信息