Template:PieChart: Difference between revisions
From FANTOM5_SSTAR
No edit summary |
No edit summary |
||
Line 66: | Line 66: | ||
}else{ | }else{ | ||
if(document.getElementById("motif_export_tool").getElementsByClassName(table_name)!=null) { | if(document.getElementById("motif_export_tool").getElementsByClassName(table_name)!=null) { | ||
var ex = document.getElementById("motif_export_tool").getElementsByClassName(table_name); | |||
if ( ! $.fn.DataTable.fnIsDataTable( ex ) ) { | |||
$(ex).dataTable().fnFilter(this.name, 2); | |||
} | |||
// var $table = $(table_name); | |||
// $table.dataTable().fnFilter(this.name, 2); | |||
//document.getElementById("motif_export_tool").getElementsByClassName(table_name).fnFilter(this.name, 2); | //document.getElementById("motif_export_tool").getElementsByClassName(table_name).fnFilter(this.name, 2); | ||
} | } |
Revision as of 15:21, 10 July 2013