User:Hisa/SemanticSbox: Difference between revisions
From FANTOM5_SSTAR
No edit summary |
No edit summary |
||
Line 15: | Line 15: | ||
"aoColumnDefs": [ { "sWidth": "100px", "sType": "numeric", "aTargets": [0] }] | "aoColumnDefs": [ { "sWidth": "100px", "sType": "numeric", "aTargets": [0] }] | ||
}); | }); | ||
// xml loading test | |||
jQuery . ajax( | |||
'http://www.ebi.ac.uk/QuickGO/GTerm?id=GO:0003824&format=oboxml', | |||
{ | |||
dataType: 'xml', | |||
success: function( data ) { | |||
var html = jQuery ( this ) . find( 'defstr' ) . text(); | |||
jQuery( '#oboxml' ) . append( html); | |||
}, | |||
error: function( data ) { | |||
jQuery( '#oboxml' ) . text( 'error on loading information' ); | |||
} | |||
} | |||
); | |||
Line 32: | Line 48: | ||
|?P-value|format=template|template=Triplecolumn_to_tbrow|link=none|intro=<html><table class="ont_enrich_ffcp"><thead><tr><th>P-value</th><th>FFCP</th></tr></thead><tbody></html>|outro=<html></tbody></table></html>|limit=2000|searchlabel=}} | |?P-value|format=template|template=Triplecolumn_to_tbrow|link=none|intro=<html><table class="ont_enrich_ffcp"><thead><tr><th>P-value</th><th>FFCP</th></tr></thead><tbody></html>|outro=<html></tbody></table></html>|limit=2000|searchlabel=}} | ||
--> | --> | ||
<html> | |||
<div id="oboxml"></div> | |||
</html> |
Revision as of 11:51, 26 June 2012