Cannot get this to work. I've tried everything I can think of!
Cannot get this to work. I've tried everything I can think of!
nickelmedia
Posts: 12Questions: 0Answers: 0
I'm trying to install and get this working at all. I've read about a dozen forum threads asking for help and none seem to work for me. It seems so easy to install this but it's not working at all.
My dev URL is http://utrip.pickorange.com/event-list/
I've tried the debugger and it doesn't sense DataTables at all.
Here are the pieces of my output code that are related to datatables:
[code]
$(document).ready(function() {
$('#example').dataTable();
} );
[/code]
[code]
Date
Event
Location
Age Groups
02/08/13
UFC VI - Altamonte Springs
Seminole Softball Complex
8U 11U 9U
02/22/13
North Florida Super NIT
Southside Recreation Complex
[/code]
This is a wordpress install if that matters. I even copy pasted your example table into the file which also did not work. Can anyone help?
My dev URL is http://utrip.pickorange.com/event-list/
I've tried the debugger and it doesn't sense DataTables at all.
Here are the pieces of my output code that are related to datatables:
[code]
$(document).ready(function() {
$('#example').dataTable();
} );
[/code]
[code]
Date
Event
Location
Age Groups
02/08/13
UFC VI - Altamonte Springs
Seminole Softball Complex
8U 11U 9U
02/22/13
North Florida Super NIT
Southside Recreation Complex
[/code]
This is a wordpress install if that matters. I even copy pasted your example table into the file which also did not work. Can anyone help?
This discussion has been closed.
Replies
Uncaught ReferenceError: jQuery is not defined
Uncaught ReferenceError: $ is not defined
Looking at the source - it looks like jquery itself is loaded after datatables - try loading it before.
http://live.datatables.net/izuwub/4/edit#preview
... and it works. However I notice that you are missing a for each of the hyperlinks in the event column.
So, something non-datatable-related on your page is stopping it from working.
Still not working. I only see one error in FireBug:
ReferenceError: $ is not defined
[Break On This Error]
$(document).ready(function() {
I also loaded a plugin to replace the theme jquery file with Google's file so I don't think it's a corrupted jquery file. Could another JS being loaded cause a conflict?
Yes - it sounds like a conflict. Try using `jQuery` .
Thanks for the help everyone.