Personal tools

User:Hisa/SemanticResults: Difference between revisions

From FANTOM5_SSTAR

Jump to: navigation, search
No edit summary
No edit summary
Line 8: Line 8:


$(document).ready(function() {
$(document).ready(function() {
     $('.ff_sample_list').dataTable({
     var oTable =  $('.ff_sample_list').dataTable({
"sScrollY": "300px",
"sScrollY": "300px",
"bPaginate": false,
"bPaginate": false,
Line 17: Line 17:
});
});


$("#test").text("checked");
//$("#test").text("checked");
//default filter for phase 1
oTable.fnFilter( '1', 3);
 


$("input[name='p1']").click(function() {
$("input[name='p1']").click(function() {
if(this.checked){
if(this.checked){
oTable.fnFilter( '1', 3);
$("#test").text("checked");
$("#test").text("checked");
}else{
}else{
oTable.fnFilter( '', 3);
$("#test").text("unchecked");
$("#test").text("unchecked");
}
}

Revision as of 18:11, 29 June 2012

Phase1 sample

idnamespeciesdatafreeze phase
123n1s11
177n2s1
23n3s22
67n4s21