table 썸네일형 리스트형 [jQuery] table excel로 다운로드 하기 function excel_export(id,fileName){ var html = "" ; $( "body" ).append(html); $( "#TableExcelHtml" ).val(RemoveAnchor($( "#" + id).html())); $( "#TableExcelFileName" ).val(fileName); $( "#TableExcelExport" ).submit(); $( "#TableExcelExport" ).remove();} - 사용방법은 EXPORT할 TABLE을 DIV로 한번 감싸고 DIV ID를 함수파라미터로 넘겨주면 된다. 더보기 [jQuery] table td show/hide function tableColShow(tableId, idx, showFlag){ if( showFlag == true){ $( "#" + tableId +" col:nth-child(" + idx +")").show(); $( "#" + tableId +" th:nth-child(" + idx +")").show(); $( "#" + tableId +" td:nth-child(" + idx +")").show(); } else{ $( "#" + tableId +" col:nth-child(" + idx +")").hide(); $( "#" + tableId +" th:nth-child(" + idx +")").hide(); $( "#" + tableId +" td:nth-child(" + idx +".. 더보기 이전 1 다음