User:Hisa/SemanticResults: Difference between revisions
From FANTOM5_SSTAR
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<html><table><thead><tr><th>id</th><th>name</th><th>species</th><th>datafreeze phase</th></tr></thead> | <html> | ||
<script type="text/javascript" language="javascript" src="/resource_browser/rb_js/datatables/media/js/jquery.dataTables.js"></script> | |||
<style type="text/css" title="currentStyle"> | |||
@import "/resource_browser/rb_js/datatables/media/css/f5_rb_table.css"; | |||
</style> | |||
<script type="text/javascript"> | |||
$(document).ready(function() { | |||
$('.ff_sample_list').dataTable({ | |||
"sScrollY": "300px", | |||
"bPaginate": false, | |||
"bScrollCollapse": true, | |||
"iDisplayLength": -1, | |||
"aaSorting": [[0,'desc']], | |||
"aoColumnDefs": [ { "sWidth": "100px", "sType": "numeric", "aTargets": [0] }] | |||
}); | |||
$("input[name='p1']").click(function() { | |||
var isChecked = $(this).attr("checked"); | |||
$("#test").text(isChecked); | |||
}) | |||
} ); | |||
</script> | |||
<input type="checkbox" name="p1" checked>Phase1 sample<div id="test"></div> | |||
<table class="ff_sample_list"><thead><tr><th>id</th><th>name</th><th>species</th><th>datafreeze phase</th></tr></thead> | |||
<tbody> | <tbody> | ||
<tr><td>123</td><td>n1</td><td>s1</td><td>1</td></tr> | <tr><td>123</td><td>n1</td><td>s1</td><td>1</td></tr> |
Revision as of 17:35, 29 June 2012
Phase1 sample
id | name | species | datafreeze phase |
---|---|---|---|
123 | n1 | s1 | 1 |
177 | n2 | s1 | |
23 | n3 | s2 | 2 |
67 | n4 | s2 | 1 |