雜記

//動態插入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");
相關文章
相關標籤/搜索
本站公眾號
   歡迎關注本站公眾號,獲取更多信息