[eluser]whiteae[/eluser]
I can't get my page to execute the table sorter based on the Tablesorter 2.0 plugin. My code is
[removed][removed]
[removed]
Code:
$(document).ready(function()
{
$("#myTable").tablesorter();
} );
[removed]
</head>
<body>
<div id="container">
<h1>DCi</h1>
<?php echo anchor('dci_controller/index', 'Back to Items<br />');?>
<h2><?php echo "$catalog: $partNo";?></h2>
<div id="wrapper">
<ul class="tabs">
<li><a href="#" class="defaulttab" rel="tabs1">Description</a></li>
</ul>
<!--Tab Content -->
<div class="tab-content" id="tabs1">
<?php
echo $this->table->set_heading('Year', 'Make', 'Model', 'Submodel', 'Engine Type', 'Liter',
'Fuel', 'Fuel Delivery Type', 'Fuel Configuration', 'Aspiration', 'Engine VIN',
'Engine Designation');
$template = array('table_open' => '<table id="myTable" class="tablesorter" border="0" cellpadding="4" cellspacing="0">');
$this->table->set_template($template);
echo $this->table->generate($YMM);
?>
</div>
It's not showing anything when I go to my page. I don't know what I have done wrong. If you see anything let me know. Thanks