views:

21

answers:

0

Hello.
I'm trying to add picnet.table.filter feature into my ASP.net MVC project, but I can't make it work. Could you please help me to solve the problem? The source code of the generated page is:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;

<html xmlns="http://www.w3.org/1999/xhtml" >
<head><title>
    TableFilter
</title>

    <script type="text/javascript" src="~/Scripts/jquery-1.4.1.js"></script>
    <script type="text/javascript" src="~/Scripts/picnet.table.filter.min.js"></script>

    <script type="text/javascript">
        $(document).ready(function() {
            $('#demotable').tableFilter();
        });
    </script>

</head>
<body>
    <table id='demotable'>
    <thead>
        <tr><th>Col1</th><th>Col2</th><th>Col3</th></tr>
    </thead>
    <tbody>
        <tr><td>Value 1</td><td>Value 2</td><td>Value 3</td></tr>
        <tr><td>Value 1</td><td>Value 2</td><td>Value 3</td></tr>
        <tr><td>Value 1</td><td>Value 2</td><td>Value 3</td></tr>
        <tr><td>Value 1</td><td>Value 2</td><td>Value 3</td></tr>
        <tr><td>Value 1</td><td>Value 2</td><td>Value 3</td></tr>
        <tr><td>Value 1</td><td>Value 2</td><td>Value 3</td></tr>
        <tr><td>Value 1</td><td>Value 2</td><td>Value 3</td></tr>
    </tbody>
    </table>
</body>
</html>

What might be wrong? Thank you for your help!