correct order of javascript libraries

correct order of javascript libraries

HeavyChevyHeavyChevy Posts: 7Questions: 0Answers: 0
edited October 2011 in General
HI Allan,

I am relatively new to JQuery and am just starting to experiment with this tool as it appears to solve alot of the criteria I am presented with in developing a new web application.

I downloaded the latest version and updated a small HTML table (5 columns, 4 rows) with the basic information. When I load the page, I see the search box at the top and the pager at the bottom, however (1) only the first column header is visible (however all the column data is present) and (2) the Zebra effect is not apparent until the column header (first column) is clicked. I am thinking this is probably (possibly) due to the order of inclusion of either the JS libraries or the CSS files but not sure.

Here is the html snippet:



relationshipId
pmnCode
ggsnIP
lastUpdUser
lastUpdDate




14
ARGTM
200.49.206.64/27
Ed
2011-10-10 11:41:42




And the initial script call:

$(document).ready(function() {
oTable = $('#example').dataTable({
"bJQueryUI": true,
"bSort": true,
"sPaginationType": "full_numbers"
});
} );

I am chalking most of this problem up to beginner's luck, hoping I just did something really stupid...any suggestions you can provide would be helpful!

Replies

  • OmnimikeOmnimike Posts: 22Questions: 0Answers: 0
    edited October 2011
    Could it be because the "" before "" is not a ""?
  • HeavyChevyHeavyChevy Posts: 7Questions: 0Answers: 0
    ARGH! I can''t tell you how many times I eyeballed that HTML file and didn't catch that! I even ran the HTML without the jQuery/Datatables files and normal the columns showed up fine. Sure am glad you have good eyes, saved me alot more grief. THANKS A BUNCH!
This discussion has been closed.