Ok, here is how it should work:
<script type="text/javascript" >
$.noConflict();
jQuery(document).ready(function() {
jQuery('#example').dataTable( {
"sScrollY": 200,
"sScrollX": "100%",
"sScrollXInner": "110%"
} );
} );
</script>
Of course you need to include jQuery files, example:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
2
solved Implementing jquery in rich fcaes 4 on jsf< h:datatable