Welcome Guest, Not a member yet? Register   Sign In
Trouble with jquery external file
#1

[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>
          &lt;?php echo anchor('dci_controller/index', 'Back to Items<br />');?&gt;

            <h2>&lt;?php echo "$catalog: $partNo";?&gt;</h2>

        <div id="wrapper">
            <ul class="tabs">
                <li><a href="#" class="defaulttab" rel="tabs1">Description</a></li>

            </ul>
        &lt;!--Tab Content --&gt;
<div class="tab-content" id="tabs1">
                &lt;?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);
                ?&gt;
</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 Smile


Messages In This Thread
Trouble with jquery external file - by El Forum - 07-31-2012, 06:40 AM
Trouble with jquery external file - by El Forum - 07-31-2012, 12:39 PM
Trouble with jquery external file - by El Forum - 08-03-2012, 11:05 AM
Trouble with jquery external file - by El Forum - 08-03-2012, 12:17 PM



Theme © iAndrew 2016 - Forum software by © MyBB