echo " <script type='text/javascript' src='/res/js/jquery/jquery.tablesorter.js'></script>
<script language='javascript'>
$(document).ready(function(){ $('.javascript_sortable_table').tablesorter(
{
textExtraction: function(node) {
var tx =$(node).find('span:eq(0)').text();
if ( tx!='' ) {
tx=tx.replace(' ', '');
tx=tx.replace(',', '.');
return tx;
}
return node.innerHTML;
}
} // , { debug: true}
);

$('.javascript_sortable_table').bind('sortStart',function() {
$('#overlay').show()}).bind('sortEnd',function() {
$('#overlay').hide()} )
});
</script>";

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)

   
© 2012 Программирование в удовольствие Яндекс.Метрика Suffusion theme by Sayontan Sinha